2 Matching Annotations
- May 2017
-
github.com github.com
-
gjmveloso commented on Oct 20, 2016 Hi @rosshinkley, Thanks for your response. XPath is the only available option to select elements by the inner text, for instance. It's widely used on Selenium space, for example. Thanks, Gustavo
I agree that not being able to use
XPath
selectors along side ofCSS
selectors is a big limitation for nightmare.js.
Tags
Annotators
URL
-
-
github.com github.com
-
sbacic commented on Mar 24 To add to my original post - I've gone over the tests and found this little gem: https://github.com/segmentio/nightmare/blob/master/test/index.js#L341 Apparently, wait can be made more reliable by adding a longer softTimeout value (I've been using 1000ms) as the second argument, eg: wait('a', 1000). Not sure why this isn't mentioned in the documentation. 👍 5 Pick your reaction 👍 👎 😄 🎉 😕 ❤️
use of softTimeout value in wait very useful for nightmare.js
Tags
Annotators
URL
-