Open harveylee opened 2 months ago
1.1.27+267afa293
Linux 6.1.43 x86_64 unknown
::-p-xpath()
Waiting for selector `[[[{"name":"xpath","value":""}]]]` failed
xpath/
Repros:
Bun https://codesandbox.io/p/devbox/currying-darkness-xk7gyk
Node https://codesandbox.io/p/devbox/wnrrdm
::-p-xpath() selector works in Puppeteer
Error message as above. Essentially the selector times out and fails.
This is a related issue (closed as "not planned") in the Puppeteer repo. https://github.com/puppeteer/puppeteer/issues/12570
One of the comments from a maintainer was
Note that we have done some refactoring in 22.10.1 and moved the selector parsing to the Node.js process. I wonder if bun perhaps not behaving in the same way as Node? (we do not support bun)
interesting
What version of Bun is running?
1.1.27+267afa293
What platform is your computer?
Linux 6.1.43 x86_64 unknown
What steps can reproduce the bug?
::-p-xpath()
selector in Puppeteer as described in https://pptr.dev/guides/page-interactions/#prefixed-selector-syntaxWaiting for selector `[[[{"name":"xpath","value":""}]]]` failed
xpath/
selectorRepros:
Bun https://codesandbox.io/p/devbox/currying-darkness-xk7gyk
Node https://codesandbox.io/p/devbox/wnrrdm
What is the expected behavior?
::-p-xpath()
selector works in PuppeteerWhat do you see instead?
Error message as above. Essentially the selector times out and fails.
Additional information
This is a related issue (closed as "not planned") in the Puppeteer repo. https://github.com/puppeteer/puppeteer/issues/12570
One of the comments from a maintainer was