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
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.
Niek
changed the title
Uncaught TypeError: elem.remoteObject
[Playwright support] Uncaught TypeError: elem.remoteObject
May 8, 2024
TypeError: elem.remoteObject is not a function
at Object.<anonymous> (node_modules/ghost-cursor/lib/spoof.js:521:61)
at step (node_modules/ghost-cursor/lib/spoof.js:44:23)
at Object.next (node_modules/ghost-cursor/lib/spoof.js:25:53)
at node_modules/ghost-cursor/lib/spoof.js:19:71
at new Promise (<anonymous>)
at __awaiter (node_modules/ghost-cursor/lib/spoof.js:15:12)
at go (node_modules/ghost-cursor/lib/spoof.js:474:64)
at Object.<anonymous> (node_modules/ghost-cursor/lib/spoof.js:579:50)
at step (node_modules/ghost-cursor/lib/spoof.js:44:23)
at Object.next (node_modules/ghost-cursor/lib/spoof.js:25:53)
I am getting this error:
Sample code to regenerate:
Utilizing:
"@playwright/browser-chromium": "^1.41.2"
"ghost-cursor": "^1.2.0",
The text was updated successfully, but these errors were encountered: