Skip to content Skip to sidebar Skip to footer

Selenium: How To Avoid Access Denied Page?

I am trying to navigate a website with Selenium but when I try to get the next page I get the error: Access Denied. You don't have permission to access 'http://blah.com/?' on this

Solution 1:

If you need to test a site without cookies.

browser.get(petshop_url)
browser.delete_all_cookies()

Post a Comment for "Selenium: How To Avoid Access Denied Page?"