You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quick question. I'm not sure if this has been answered already before but I didn't find this in the docs or during my issue search but does nightmare support psuedo classes like :first or like these as it's selector?
The text was updated successfully, but these errors were encountered:
Generally, things are selected by running document.querySelector(), so pseudo-selectors are supported to the extent that Chrome supports that API.
Most of them are well supported. I’m not sure if they all are, though. I don’t think anyone has tested all of them, especially things like :focus, which might be supported differently depending on whether the window is visible on screen or hidden (PhantomJS has a long standing bug related to this particular issue: ariya/phantomjs#10427).
Ahh, that actually clarifies things quite a bit. Apparently :firstisn't supported and I happened to be testing only that. 😿 Found alternative to it by using :first-child. Thanks, @Mr0grog
Quick question. I'm not sure if this has been answered already before but I didn't find this in the docs or during my issue search but does nightmare support psuedo classes like
:first
or like these as it's selector?The text was updated successfully, but these errors were encountered: