DEV Community

Yuriy Arutyunyan
Yuriy Arutyunyan

Posted on


Selenium Web Driver running problem

I am kinda new to selenium and having an issue rn i can't fix myself.

My Code:

from selenium import webdriver

# other chrome options
chrome_options = webdriver.ChromeOptions()

driver = webdriver.Chrome(executable_path="C:/Users/arutyunyan/PycharmProjects/pythonProject2/chromedriver/chromedriver.exe",options=chrome_options)
Enter fullscreen mode Exit fullscreen mode

This is what i get:

The following error was encountered while trying to retrieve the URL: <a href="http://localhost:53069/session">http://localhost:53069/session</a>

Cache Access Denied.

Sorry, you are not currently allowed to request http://localhost:53069/session from this cache until you have authenticated yourself
Enter fullscreen mode Exit fullscreen mode

My network connection is behind proxy, but i am not sure it has to be the problem since i am connecting to localhost

What might be the problem?

Latest comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git