Browser executable_path Error

Hi,

I’m using the python rpaframework on windows.

I’m doing s.open_browser(“https://www.google.com”, browser=“chrome”, executable_path=path)

I keep getting a "driver executable may have the wrong permission error. Anyone knows the reason?

I’m pretty sure the version is correct. When I set the system path, it works. But I can’t set the system Path because it’s a corporate PC and I’m not allowed to set system PATH. I also tried using open_available_browser instead but that keeps opening MS Edge and is giving problems.

Thanks.

Are you using full path? Something like:

executable_path=r'C:/drivers/chromedriver.exe'

Yes I am.

I managed to solve the problem by setting the os.environ[“PATH”] to the driver folder instead. Once that is set I don’t need to use the executable_path argument anymore.