Closed RubberArchind closed 1 week ago
Describe the bug Can't close page or browser when using a proxy, it always throw error even with minimal code
To Reproduce import { connect } from "puppeteer-real-browser";
const { page, browser } = await connect({ args: ['--no-sandbox', "--start-maximized"], connectOption: { defaultViewport: null, }, proxy: { host: "gw.dataimpulse.com", port: 823, username: "myusername", password: "mypassword" } })
await page.goto('http://google.com/'); browser.close()
Expected behavior successfully close the page and browser without error
Screenshots
Desktop (please complete the following information):
Additional context this just happened in linux, i try this in windows and it run perfectly
Can you check with the latest version?
Of course, I will try it after this and give you the result here.
Ok, the last commit seems to fix the problem, it works fine now. Thanks a lot @zfcsoftware
Describe the bug Can't close page or browser when using a proxy, it always throw error even with minimal code
To Reproduce import { connect } from "puppeteer-real-browser";
const { page, browser } = await connect({ args: ['--no-sandbox', "--start-maximized"], connectOption: { defaultViewport: null, }, proxy: { host: "gw.dataimpulse.com", port: 823, username: "myusername", password: "mypassword" } })
await page.goto('http://google.com/'); browser.close()
Expected behavior successfully close the page and browser without error
Screenshots
Desktop (please complete the following information):
Additional context this just happened in linux, i try this in windows and it run perfectly