Access Denied redirect
See original GitHub issueSteps to reproduce
Tell us about your environment:
- Puppeteer version: 1.9.0
- Platform / OS version: Mac Mojave
- URLs (if applicable): https://www.cabelas.com/user/login.jsp
- Node.js version: 8.11.3
What steps will reproduce the problem?
const browser = await puppeteer.launch({ headless: false })
const page = await browser.newPage()
await page.goto('https://www.cabelas.com/user/login.jsp')
await page.waitFor('#userName')
await page.type('#userName', 'test')
await page.type('#password', 'test')
await page.click('#logInBtn')
await page.waitFor(5000)
await page.screenshot({ path: 'failed.png' })
await browser.close()
What is the expected result?
For an error message to pop on the screen that my credentials are incorrect, as in a normal browser.
What happens instead?
The page is redirected to an Access Denied page.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Redirecting on Access Denied fails - Microsoft Q&A
I am running into an issue with redirecting of pages, specifically Access Denied at this moment, though this might also apply to Logout....
Read more >Redirect Output to Location With “Permission denied” Error
Learn how to overcome the "Permission denied" error when redirecting output to a file.
Read more >How To - Redirect Users With Denied Access
Create a new page and add whatever graphics or text you would like to appear to inform visitors that they do not have...
Read more >Cloudfront to s3 redirect to subdomain giving Access denied ...
I'm trying to redirect http://example.com and https://example.com to https://www.example.com ( http://www.example.com already redirects ...
Read more >CloudFront endpoint redirects to S3 bucket causing Access ...
CloudFront endpoint redirects to S3 bucket causing Access Denied #84. Closed. kiwifellows opened this issue on Jun 28 · 2 comments.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
How is it possible to identify this if supposedly puppeteer is supposed to work just as the usual chrome does?
try:
await page.setUserAgent(‘Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36’)