1. Check your zoom level.  It should be set to 100%
2. To launch chrome with the window maximized (ruby, webdriver)
  ie = Watir::Browser.new ( :chrome, :switches => %w[ --disable-extensions 
] )
  ie.window.maximize

  window.maximize works in IE, FF, CHROME 




On Tuesday, August 26, 2014 11:22:22 PM UTC-5, crimson wrote:
>
> When I run chromedriver on to log into my test app, the browser renders 
> with part of the app off screen (need to scroll right to access some 
> elements).  This doesn't happen with the firefox driver, and does not 
> happen when I log into my test app manually using chrome.  It causes a 
> problem in that the chromedrive also won't automatically scroll the 
> elements into view when I need to click them.  
>
> Currently I'm sending some javascript to scroll right when I need to click 
> elements off screen but I'd like to just fix the issue, have it fill the 
> screen properly with no right scrolling needed.  
>
> Is there any easy way to 1) just maximize chrome 2) fix it so it flows 
> normally with no right scrolling needed.  Thanks.
>
>

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