Selenium with Chrome on JetBrains Datalore

382 Views Asked by At

I am trying to test Selenium with headless Chrome on JetBrains Datalore, but am getting an error when trying to create the webdriver. Specifically, I am getting the following error:

WebDriverException: Message: Service chrome/chromedriver unexpectedly exited. Status code was: 127

Has anyone else encountered this problem and managed to solve it?

1

There are 1 best solutions below

0
Prophet On

Possibly chromedriver needs some extra libraries.
Try this

apt-get install -y libglib2.0-0=2.50.3-2 \
    libnss3=2:3.26.2-1.1+deb9u1 \
    libgconf-2-4=3.2.6-4+b1 \
    libfontconfig1=2.11.0-6.7+b1

Also there are many existing questions about this error here.
Like this
And several others