Home > Net >  Chrome Webdriver - System Policy has denied access to the requested URL
Chrome Webdriver - System Policy has denied access to the requested URL

Time:11-19

I'm trying to figure out why I'm getting this error message. I'm running the webdriver.Chrome() with selenium in a Windows environment.

When I run:

driver.get("http://www.google.com") 

Or any url for that matter, python returns an HTML doc to the terminal saying;

Access denied, your system policy has denied access to the requested URL. For assistance contact your network support team

I'm not not sure what the issue so I need to figure out the error so I can send it to my IT. This is on a company managed device.

CodePudding user response:

Thanks to pcalkins I figured out it was a problem with the network drive. I ran the code in a python environment hosted on a network drive. When I changed it to run on my local machine it worked fine.

CodePudding user response:

While starting a Selenium driven ChromeDriver initiated Browsing Context this error message...

Access denied, your system policy has denied access to the requested URL. For assistance contact your network support team

...can occur due to a lot of reasons.

Some of the known reasons are:

  • ChromeDriver uses port 9515 which may be blocked by some other services.
  • Your system have security software installed that is filtering this traffic or using network web filtering.
  • Related