Forums

Selenium Chrome Driver for my account.

Hey,

I am trying to run Selenium with my account and keep getting errors.

I have run the example code on the forum in a separate console and it appears to work find.

The exception error I am getting when I run my code in the bash console is...

selenium.common.exceptions.SessionNotCreatedException: Message: session not created from unknown error: unhandled inspector error: {"code":-32000,"message":"Target crashed"}

After restarting Bash console, I have now just recieved this error too..

selenium.common.exceptions.WebDriverException: Message: unknown error: unable to discover open pages

This works fine locally.

Any ideas?

Try to run exact code from https://help.pythonanywhere.com/pages/selenium first.

Yes, it is working now. For some reason, same code, but recreated in a different console, and now the task is running.

Thanks for your help.

Glad to hear it's working -- thanks for letting us know!