Closed jason0x43 closed 7 years ago
maximizeWindow
has the same issue.
After quite a bit of testing, it looks like the window control commands on FF are pretty borked for anything less than FF 55 + geckodriver 0.18.0 + Selenium 3.5.0. That configuration works well on BrowserStack, but is still fairly flakey on Sauce Labs. FF 55 + geckodriver 0.19.0 + Selenium 3.5.2 on my MacBook also seems fairly reliable.
Actually, Sauce Labs doesn't work with Selenium 3.5.0, it only seems to work with Selenium 3.4.0 (+ FF 55 + whatever geckodriver they're using). Unfortunately, the window/rect bindings in Selenium 3.4.0 appear to be incomplete, in that GET window/rect doesn't return the full rect.
setWindowPosition
should be using thewindow/rect
command likesetWindowSize
. Currently it's usingwindow/current/position
, which doesn't error, but doesn't work, either.