Closed MacVej closed 4 months ago
i keep getting the following error: Uncaught SyntaxError: Cannot use import statement outside a module when trying to use it together with puppeteer - is their a version thats compatible with the current puppeteer version?
Uncaught SyntaxError: Cannot use import statement outside a module
You can import ghost-cursor in the following way
const { createCursor } = require('ghost-cursor'); const cursor = createCursor(page);
i keep getting the following error:
Uncaught SyntaxError: Cannot use import statement outside a module
when trying to use it together with puppeteer - is their a version thats compatible with the current puppeteer version?