Closed elliottj closed 7 years ago
Judging by the log output you attached, it does not look like your client binding is sending the correct message format:
1494252228013 webdriver::server DEBUG → POST /session/ae330d35-ee5b-4672-9447-b4abc0b1cf56/window/rect {"script":"window.screenX = arguments[0]; window.screenY = arguments[1]","args":[2000,0]}
1494252228013 geckodriver::marionette TRACE → 68:[0,2,"setWindowRect",{"height":null,"width":null,"x":null,"y":null}]
It looks like it is sending the message of an injected script to the Set Window Rect command endpoint, which won’t work for obvious reasons.
Do you mind filing a bug with Selenium?
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue.
VERSIONS Firefox version: 53.0 (64-bit) GeckoDriver: v0.16.1 win64 Selenium: 3.4.0 Java bindings NetBeans: 8.1 Java jdk1.8.0_73
PLATFORM Windows 7 64 bit 16GB RAM
I've setup a simple maven project to launch Firefox and re-position the window, which does not work
CODE
EXPECTED Firefox launches and is moved to a new position.
ACTUAL The window position does not change. Console output below shows null values in marionette trace:
FULL CONSOLE OUTPUT