Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restores "LegacyWindow" class into a working state #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aik099
Copy link
Contributor

@aik099 aik099 commented Mar 21, 2024

Problems solved:

  • the given window handle wasn't used in the Selenium URL building
  • when the current meta-handle (only usable for .../position and .../size calls) was used, then LegacyWindow::getHandle was 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:

  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
Copy link
Contributor Author

aik099 commented May 12, 2024

@robocoder , pleas review.

@aik099
Copy link
Contributor Author

aik099 commented Jul 18, 2024

@robocoder , please review.

1 similar comment
@aik099
Copy link
Contributor Author

aik099 commented Oct 31, 2024

@robocoder , please review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The LegacyWindow class doesn't work anymore
1 participant