Status code 64 : Running Selenium without GUI

161 views
Skip to first unread message

Jean Carlo Ortiz

unread,
Oct 2, 2019, 1:46:22 PM10/2/19
to Selenium Users

I'm trying to run Selenium in Headless mode in a Linux machine without GUI. The problem is that I'm getting a WebDriverException and I can't find anywhere what the status code 64 means.


Does anyone know where to find the status code definitions ?


Code :


```python

from pyvirtualdisplay import Display
from selenium import webdriver

display = Display(visible=0, size=(1024, 768))
display.start()

path = '/home/workspace/geckodriver'
driver = webdriver.Firefox(executable_path=path, service_args=['--verbose', '--log-path=/tmp/firefox.log']) 

# website testing functionality: 
driver.get('https://python.org') 
print(driver.title)
```


Error :
WebDriverException: Message: Service /home/workspace/geckodriver unexpectedly exited. Status code was: 64
Reply all
Reply to author
Forward
0 new messages