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
Maybe it's not the bug but not yet supported selector by Playwright so sorry in advance 🙏
I skimmed through the Stack Overflow and a couple of articles but couldn't find a similar issue.
System info
Playwright Version: [v1.XX] - default in playground
Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.] - MacOS 14, but ran in the playground
// not working:constnextElementsCount=awaitpage.locator(':nth-last-child(1 of .Checkpoints:has(.Checkpoints_span).CheckpointCurrent2_Sign) ~ *').count();// working:constnextElementsCount=awaitpage.evaluate(()=>[
...document.querySelectorAll(':nth-last-child(1 of .Checkpoints:has(.Checkpoints_span).CheckpointCurrent2_Sign) ~ *'),].length);
Maybe it's not the bug but not yet supported selector by Playwright so sorry in advance 🙏
I skimmed through the Stack Overflow and a couple of articles but couldn't find a similar issue.
System info
Source code
Link to the test file
https://try.playwright.tech/?l=javascript&s=khc2kb8
Link to the JSFiddle with CSS selector usage
https://jsfiddle.net/654t7skb/9/
Steps
Expected
nth-last-child( )
selector is supportedActual
nth-last-child( )
selector is NOT supportedThe text was updated successfully, but these errors were encountered: