2 years ago
#31894
sumegan
Unable to redirect to Gitlab's login page using Puppeteer in headless mode
I'm unable to access the sign-in page on Gitlab while test headless mode. The page shows this message
This process is automatic. Your browser will redirect to your requested content shortly. Please allow up to 5 seconds…
...but it never actually redirects to the login page.
Here's my code:
await page.goto('https://gitlab.com/users/sign_in')
await page.waitForSelector('#user_login')
How can I access the Gitlab login page?
gitlab
automated-tests
puppeteer
google-chrome-headless
headless-browser
0 Answers
Your Answer