Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update travis's dist to Xenial. #6

Merged
merged 1 commit into from
May 31, 2020
Merged

Conversation

madogiwa0124
Copy link
Owner

@madogiwa0124 madogiwa0124 commented May 31, 2020

I updated dist to Xenial because trusty can only install the old chrome version and the test fails.

ref: https://travis-ci.community/t/travisci-chrome-version-has-regressed-back-to-v62/8603

It seems that the setting of ChromeDriver of Capybarah was wrong.

     Selenium::WebDriver::Error::UnknownError:
       unknown error: Chrome failed to start: crashed.
         (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.)

Using Selenium::WebDriver::Remote::Capabilities was not a good idea, so I've modified it to use Selenium::WebDriver::Chrome::Options to configure it :thinking:

I updated dist to Xenial because trusty can only install the old chrome version and the test fails, so I updated dist to Xenial.

ref: https://travis-ci.community/t/travisci-chrome-version-has-regressed-back-to-v62/8603

It seems that the setting of ChromeDriver of Capybarah was wrong.

``` ruby
     Selenium::WebDriver::Error::UnknownError:
       unknown error: Chrome failed to start: crashed.
         (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.)
```

Using Selenium::WebDriver::Remote::Capabilities was not a good idea, so I've modified it to use Selenium::WebDriver::Chrome::Options to configure it :thinking:
@madogiwa0124 madogiwa0124 merged commit 5bbceb9 into master May 31, 2020
@madogiwa0124 madogiwa0124 deleted the fix-travis-ci-error branch May 31, 2020 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant