kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
feat: bump reload timeout
rodzic
8e0f32b444
commit
b3f71bc1e4
|
@ -195,7 +195,8 @@ export class ChatGPTAPIBrowser {
|
|||
try {
|
||||
await maximizePage(this._page)
|
||||
await this._page.reload({
|
||||
waitUntil: 'networkidle0'
|
||||
waitUntil: 'networkidle0',
|
||||
timeout: 2 * 60 * 1000 // 2 minutes
|
||||
})
|
||||
await minimizePage(this._page)
|
||||
} catch (err) {
|
||||
|
|
Ładowanie…
Reference in New Issue