Im getting fatal error .Timed out after 30000 ms while trying to connect to the browser! Only Chrome at revision r800071 is guaranteed to work. but after kill all node process then kill chrome then im start the program again working properly.
Anyone knows? guess what's wrong?
Any Ideas?
See: #334
So I have to do an npm update? or what? I'm sorry I don't understand
Since that PR were not accepted yet you can not do npm update but you can see the applied changes to try on your own project doing one "manually update" on Client.js
From there you can get the "idea" that you've asked for
Since that PR were not accepted yet you can not do
npm updatebut you can see the applied changes to try on your own project doing one "manually update" on Client.jsFrom there you can get the "idea" that you've asked for
what to change in client.js which function is it? I don't understand reading Github revisions
You can copy all the Client.js changes from PR and paste it to you cloned project. Below you have the raw code. Just copy and paste it to your cloned Client.js
You can copy all the Client.js changes from PR and paste it to you cloned project. Below you have the raw code. Just copy and paste it to your cloned Client.js
Thanks You
Let me know if the PR solves your issue, but this seems like a different problem to me. It just looks like the browser was taking too long to start up so it timed out, or some other problem with puppeteer.
You may want to experiment with puppeteer's timeout option by passing it on client creation:
const client = new Client({
puppeteer: {
timeout: 30000 // default is 30s
}
})
You can copy all the Client.js changes from PR and paste it to you cloned project. Below you have the raw code. Just copy and paste it to your cloned Client.js
Problem solved thanks