I am using the same version I am using Firefox not chrome , Try in Firefox once.
On Tuesday, May 2, 2017 at 7:51:59 PM UTC+5:30, christina wrote: > > Do you know if the ruby version matter? > > > > ruby 2.3.3p22 (2016-11-21 revision 56859) [x64-mingw32] > > > Please can you double check what ruby version you have. > > On Tue, May 2, 2017 at 10:00 AM, Raja gopalan <[email protected] > <javascript:>> wrote: > >> >> hi, >> >> The below code is working for me in Firefox! >> >> @browser.driver.manage.window.maximize >> @browser.driver.manage.window.resize_to(900,900) >> >> require 'watir' is enough now, require 'watir-webdriver' is not necessary >> now. The recent watir is not a meta gem which doesn't choose betwen >> watir-classic and watir-webdriver, it's lies on selenium-webdriver >> completely. >> >> >> >> On Tuesday, May 2, 2017 at 6:56:21 PM UTC+5:30, christina wrote: >>> >>> I believe that the problem comes for what package should I require. >>> >>> I use only >>> require "watir" >>> >>> I get an error where the window is not defined. >>> >>> Do you know what other packages should I require? >>> >>> >>> A few years ago we used to use: >>> require 'watir-webdriver' >>> >>> >>> I am still confused about changes. >>> >>> >>> [image: Inline image 1] >>> >>> On Tue, May 2, 2017 at 2:11 AM, Paul Denize <[email protected]> wrote: >>> >>>> This should work >>>> >>>> @browser.driver.window.maximize >>>> @browser.driver.window.resize_to(900,900) >>>> >>>> >>>> -- >>>> -- >>>> Before posting, please read http://watir.com/support. In short: search >>>> before you ask, be nice. >>>> >>>> [email protected] >>>> http://groups.google.com/group/watir-general >>>> [email protected] >>>> >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "Watir General" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> -- >> Before posting, please read http://watir.com/support. In short: search >> before you ask, be nice. >> >> [email protected] <javascript:> >> http://groups.google.com/group/watir-general >> [email protected] <javascript:> >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Watir General" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
