Window Maximize using Selenium webdriver v2.6.0

I’m trying to maximize the window but with no success

require “selenium-webdriver”
driver = Selenium::WebDriver.for :chrome “


require “selenium-webdriver”

$driver = Selenium::WebDriver.for :chrome

Above worked for me with selenium webdriver ver 2.53.0

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs