Hi there,
Thank you for the hard work.
Just as the title implies, I'm trying to access a page that renders images on a canvas.
As I've encountered CORS errors, I tried adding '--disable-web-security' which works great on the demo. But as soon as I've added the token, the CORS problems returns.
Here is my code using token:
const browser = await puppeteer.connect({
browserWSEndpoint: 'wss://chrome.browserless.io?token=MY-TOKEN&--disable-web-security'
});
Here is my code without token:
const browser = await puppeteer.connect({
browserWSEndpoint: 'wss://chrome.browserless.io?--disable-web-security'
});
Did i do something wrong when adding my token?
Hi there,
Thank you for the hard work.
Just as the title implies, I'm trying to access a page that renders images on a canvas.
As I've encountered CORS errors, I tried adding '--disable-web-security' which works great on the demo. But as soon as I've added the token, the CORS problems returns.
Here is my code using token:
const browser = await puppeteer.connect({browserWSEndpoint: 'wss://chrome.browserless.io?token=MY-TOKEN&--disable-web-security'});Here is my code without token:
const browser = await puppeteer.connect({browserWSEndpoint: 'wss://chrome.browserless.io?--disable-web-security'});Did i do something wrong when adding my token?