Forums

Using Selenium: Missing or invalid capabilities

Hello!

Trying run base Selenium template from here https://help.pythonanywhere.com/pages/selenium/

But I get error:

selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Missing or invalid capabilities
  (Driver info: chromedriver=2.42.591071 (0b695ff80972cc1a65a5cd643186d2ae582cd4ac),platform=Linux 5.13.0-1022-aws x86_64)

How can i fix it?

Update your system image. See https://help.pythonanywhere.com/pages/ChangingSystemImage

Any luck?

We know that example for the help page works.

To which image should it be updated?

To the most recent one: glastonbury