Getting Error Error while running .locateMultipleElements() protocol action: invalid selector: An invalid or illegal selector was specified , although the locator is present in the pages.js file #4392
Unanswered
styagi2196
asked this question in
Help Needed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi , I am working on creating a method for Automation Testing using nightwatch with Javascript to verify conditional visibility of elements , while executing I am facing problem in locating the selectors . I am using @ followed by variable name to fetch it first from the pages.js file and then locate it on dome
Nightwatch API is only able to locate the first element with that approach , while trying to locate the next one just after that it is giving the error mentioned in the summary of this ticket.
However if i give the locator directly for the second element , then I am able to proceed , Please help if this is already an existing issue
Beta Was this translation helpful? Give feedback.
All reactions