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

Fix #3484 Added elementId only param in moveTo command #3517

Merged
merged 60 commits into from Mar 17, 2023

Conversation

harshit-bs
Copy link
Member

@harshit-bs harshit-bs commented Dec 12, 2022

Issues

Changes

  • Assumed element id will be null and xoffset and yoffset will be 0 when nothing passed in params
  • When only elementId argument passed then xoffset and yoffset will be 0
  • Added test cases

@harshit-bs harshit-bs requested a review from a team December 12, 2022 07:10
lib/api/protocol/moveTo.js Outdated Show resolved Hide resolved
lib/api/protocol/moveTo.js Outdated Show resolved Hide resolved
@hongdeyuan
Copy link

Whether moveTo can support pageObject variables? @gravityvi

@harshit-bs harshit-bs requested review from beatfactor and swrdfish and removed request for a team March 13, 2023 14:06
lib/api/protocol/moveTo.js Outdated Show resolved Hide resolved
swrdfish and others added 28 commits March 16, 2023 13:31
…g done() (nightwatchjs#3490)

* set tree to started immediately

* if queue is not empty, wait for initial traversal to begin

* remove unnecessary changes

* add tests

* fix tests
Based on this https://www.selenium.dev/blog/2021/a-tour-of-4-authentication/
This feature is currently implemented on top of Selenium 4’s CDP(Chrome DevTools Protocol) support, and so only works on those browser that support that protocol.
That means it won't work in Safari.
And it's not going to solve the Safari basic auth issue in selenium. See https://www.browserstack.com/docs/automate/selenium/basic-http-authentication

Co-authored-by: Prudhvi <prudhvi@browserstack.com>
* Bump Selenium Version to 4.8.0

* Removed NodeJS 12.x support
We have been adding new features to nightwatch so we need to update our keyword selection
@beatfactor beatfactor merged commit f982219 into nightwatchjs:main Mar 17, 2023
6 checks passed
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.

.moveTo() is not working with elementId only param