php-webdriver
php-webdriver copied to clipboard
Restores "LegacyWindow" class into a working state
Problems solved:
- the given window handle wasn't used in the Selenium URL building
- when the
currentmeta-handle (only usable for.../positionand.../sizecalls) was used, thenLegacyWindow::getHandlewas returning it as-is without converting to a real window handle
Closes #138
P.S. Strange Selenium 3 server (maybe Selenium 2 is also affected) behavior I've noticed during testing:
- both
.../positionand.../sizeURLs are returning/accepting array with these keys:x,y,width,height(while they should only use eitherxandyorwidthandheight - both
.../positionand.../sizeURLs are operating on the current window regardless if the window handle of another non-active window is specified
I guess, that's a bug in Selenium server itself and not this library.
@robocoder , pleas review.
@robocoder , please review.
@robocoder , please review.
Thank you.