How to use locator inside a Page Object #4251
|
Hi, Everytime I try to use locator() in Page Object I got an error: locator is not defined I believe it needs to be imported, but how? I cannot find this in the documentation. Thanks |
Answered by
kobenguyent
Mar 12, 2024
Replies: 1 comment 1 reply
|
I think it should be locate() instead of locator() |
1 reply
Answer selected by
incoming-th
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

I think it should be locate() instead of locator()