I'm trying to maximize the window but with no success
require "selenium-webdriver"
driver = Selenium::WebDriver.for :chrome
driver.navigate.to "http://www.google.es"
driver.window_maximize
···
--
Posted via http://www.ruby-forum.com/.
I'm trying to maximize the window but with no success
require "selenium-webdriver"
driver = Selenium::WebDriver.for :chrome
driver.navigate.to "http://www.google.es"
driver.window_maximize
--
Posted via http://www.ruby-forum.com/.
driver.execute_script("window.resizeTo(screen.width,screen.height)")
--
Posted via http://www.ruby-forum.com/.