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]
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.

Reply via email to