A
A
asinco2022-01-03 23:43:11
Python
asinco, 2022-01-03 23:43:11

Why is Selenium throwing a path error?

I put a script with selenium on Pythonanywhere in headless mode (which works without a desktop)

I registered the correct path, the driver version is fresh, but it gives an error:
61d35f78067cf041798337.png

Here is how it is written in the code:
61d35f9e41b13226169282.png

It seems that the error is related to the path, but it is correct. Slashes are correct
What could be the problem?

On the local machine the code works fine

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Listening, 2022-01-13
@Meoniz

What OS? You have slashes, and the program is called .exe. If it's correct, then make this file executable, i.e. cmod +x

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question