Error when i launch yaml file in taurus with browser google-chrome.

45 views
Skip to first unread message

Elisa Gaiti

unread,
Jun 4, 2019, 9:33:43 AM6/4/19
to codename-taurus
Hi ,
i have yaml file with this chrome driver and geckodriver :

selenium:
    chromedriver:
      version: 2.41
      download-link: https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
    geckodriver:
      version: 0.24.0
      download-link: https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.17.0-linux64.tar.gz

and this capabilities;

     execution:
- executor: selenium
  scenario: target_FINAL-Selenium
  blazegrid: true
  iterations: 1
  capabilities:
    browserName: Chrome
    chromeOptions:
      args: ["--headless", "--disable-dev-shm-usage", "--no-sandbox"]
      binary: "/usr/bin/google-chrome"

when i launch this yaml file i have an error:


  WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally
  (unknown error: DevToolsActivePort file doesn't exist)
  (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

could any of you tell me the reason for this error?
with firefox does not occur.

thanks a lot
Elisa Gaiti
 

grey....@gmail.com

unread,
Jun 5, 2019, 4:18:07 AM6/5/19
to codename-taurus
Hello Elisa.
My recommendation in such cases is trying to execute your selenium script without taurus at first.
Another good point is to trust taurus and commend specified versions of tools. (chrome and gecko driver).
It looks like version compatibility problem (somewhere between chromedriver and chrome browser).
As tip I recognize obsolete version of chrome driver. Please take of strange firefox download link too.

---
Taras
Reply all
Reply to author
Forward
0 new messages