agentic icon indicating copy to clipboard operation
agentic copied to clipboard

If the network speed is too slow, the login button will fail to click.

Open CSerht opened this issue 3 years ago • 0 comments

Describe the feature

I'm in China, using a VPN to access OpenAI. So my Internet is slow.

The login button is clicked before the ChatGPT login page is loaded. As a result, the click fails. I have to click on it myself.

The following code seems to be relevant, but I don't know the language.

// click login button and wait for navigation to finish
await Promise.all([
  page.waitForNavigation({
    waitUntil: 'networkidle2',
    timeout: timeoutMs
  }),

  page.click('#__next .btn-primary')
])

Can you add some logic to make the login button click successfully when the Internet speed is slow?

Thank you!

CSerht avatar Dec 30 '22 14:12 CSerht