Uncaught TypeError TypeError: elem.remoteObject is not a function
at <anonymous> (...\node_modules\ghost-cursor\lib\spoof.js:483:61)
at step (...\node_modules\ghost-cursor\lib\spoof.js:44:23)
at <anonymous> (...\node_modules\ghost-cursor\lib\spoof.js:25:53)
at fulfilled (...\node_modules\ghost-cursor\lib\spoof.js:16:58)
As stated, ghost-cursor is a library for puppeteer and not for playwright. It should be possible to add playwright support though, feel free to open a PR.
I am getting this error:
Sample code to regenerate:
Utilizing: "@playwright/browser-chromium": "^1.41.2" "ghost-cursor": "^1.2.0",