foxdriver
foxdriver copied to clipboard
Error: Actor <> does not recognize the packet type 'attach' (unrecognizedPacketType)
I am trying to run just the POC code from the readme (Mac M1, macOS 12, Firefox 99, foxdriver 1.0.6), but get:
/ff/node_modules/foxdriver/build/actor.js:44
throw new Error(`${result.message} (${result.error})`);
^
Error: Actor server1.conn1.child3/windowGlobalTarget2 does not recognize the packet type 'attach' (unrecognizedPacketType)
at Tab.request (/ff/node_modules/foxdriver/build/actor.js:44:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async file:///ff/index.js:16:5
Google hasn't helped. Can anyone help me understand what I may be doing wrong?
This might be related: https://www.anycodings.com/1questions/2605415/unrecognizedpackettype-actor-server1conn1tabdescriptor1-does-not-recognize-the-packet-type-attach
Essentially, Firefox API has probably changed and I don't see foxdriver as being updated for 2 years now, so most likely it went out of sync. Mind you, this is my guess only.