-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Example with-page-object of Google failed due to some changes in website #4106
Example with-page-object of Google failed due to some changes in website #4106
Comments
@garg3133 Fixed it but unable to find that example file that is initiated with |
hey @uditrajput03 i think the files are present here: https://github.com/nightwatchjs/create-nightwatch |
I have searched it , It's actually here nightwatchjs/nightwatch-setup-tools |
This needs to be fixed in this repository as well, so re-opening this. |
Consent page has been removed from google homePage that is used in |
Description of the bug/issue
Example located in
.\nightwatch\examples\with-page-objects\google.js
failes due to certain change in selector of google.no menu.selector: '#hdtb-msb'
not found on the searchResult page.Also elements in
nightwatch\page-objects\google\searchResults.js
also needed to be changed as@class
also changed in menuXpathSteps to reproduce
Run following command to reproduce
Sample test
No response
Command to run
Verbose Output
No response
Nightwatch Configuration
No response
Nightwatch.js Version
3.4.1
Node Version
No response
Browser
No response
Operating System
No response
Additional Information
This maybe fixed by locating the menu by role="navigation" in xpath.
Fix should be in consideration to replicate the usecase of that particular example
The text was updated successfully, but these errors were encountered: