instaclick / php-webdriver

W3C and Selenium 2 webdriver "thin client" for php 5.3+ and namespaces.
Other
436 stars 62 forks source link

Restores "LegacyWindow" class into a working state #139

Open aik099 opened 6 months ago

aik099 commented 6 months ago

Problems solved:

Closes #138

P.S. Strange Selenium 3 server (maybe Selenium 2 is also affected) behavior I've noticed during testing:

  1. both .../position and .../size URLs are returning/accepting array with these keys: x, y, width, height (while they should only use either x and y or width and height
  2. both .../position and .../size URLs 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.

aik099 commented 4 months ago

@robocoder , pleas review.

aik099 commented 2 months ago

@robocoder , please review.