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

waitForText doesn't work with locateStrategy property of selector inside of Page Object #13

Open
Pashokus opened this issue Dec 8, 2015 · 4 comments

Comments

@Pashokus
Copy link

Pashokus commented Dec 8, 2015

No description provided.

@maxgalbu
Copy link
Owner

maxgalbu commented Dec 9, 2015

Which locateStrategy did you use?

@Pashokus
Copy link
Author

Pashokus commented Dec 9, 2015

I use pageObject element with locateStrategy: 'xpath'

@maxgalbu
Copy link
Owner

Ok, I'll test it

@maxgalbu
Copy link
Owner

I did some tests and it does not even work with css. I've opened an issue in nightwatch: nightwatchjs/nightwatch#787

EDIT: the new 1.0.5 version along with this pull request to nightwatch will fix it: nightwatchjs/nightwatch#796 (if you want to install this version momentarily, use npm install -g git://github.com:maxgalbu/nightwatch#maxgalbu-patch-1)

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

No branches or pull requests

2 participants