Use this code for maximized window: browser.driver.manage.window.maximize This element stay in <iframe> tag?
Em sexta-feira, 13 de abril de 2018 23:03:42 UTC-3, Jeff Fagot escreveu: > > Hello all, > > I am very confused by what I am experiencing. > I am using watir 6.10.2 with firefox (did not try a different browser) > > By default my window opens up not maximized but still takes the > full-screen and the element I want to interact with is always present to me > as a user no matter what. > For some reason, running my test as is => works fine > BUG? : When I do *@browser.window.maximize* and run the same test => It > fails stating the element is located but not present ?! > > I have a hard time to get my head around this, has anyone experienced this > before? > > Thanks > JFF > -- -- Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. 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.
