We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi guys,
I was using the Playwrite chrome browser to scrape my website. I saw Lightpanda and wanted to give it a try. I get this error in my console:
Network.deleteCookies timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
Is it because Lightpanda hasn't implemented it yet?
Thanks !
The text was updated successfully, but these errors were encountered:
Hello @shankiflang! Yes that's possible, indeed.
Could-you share your playwright script reproducing the issue? Thanks!
Sorry, something went wrong.
Hello @shankiflang! Yes that's possible, indeed. Could-you share your playwright script reproducing the issue? Thanks!
Hello, I can't share the code because it's a company code, but here's a summary:
const cookies = [] const headers = "" this.browser = await puppeteer.connect({ browserWSEndpoint: "ws://127.0.0.1:9222", }) this.page = await this.browser.newPage() await this.page.setCookie(cookies) await this.page.setExtraHTTPHeaders(headers) await this.page.goto(<link>, { waitUntil: 'networkidle2', }) const updatedCookies = await this.page.cookies() for (const updatedCookie of updatedCookies) { const { name, ...cookie } = updatedCookie <save-cookies-in-db> } if (this.browser) { await this.browser.close() }
krichprollsch
No branches or pull requests
Hi guys,
I was using the Playwrite chrome browser to scrape my website. I saw Lightpanda and wanted to give it a try. I get this error in my console:
Is it because Lightpanda hasn't implemented it yet?
Thanks !
The text was updated successfully, but these errors were encountered: