Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Update the Chrome Driver #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
sudo: required
dist: trusty
os: linux
dist: xenial
language: node_js

cache:
directories:
- node_modules
- ~/.selenium-assistant

node_js:
- '6'
- '12'
- '8'

addons:
apt:
update: true
sources:
- google-chrome
packages:
- dpkg

services:
- xvfb

install:
- npm install

# Read more here: https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start || echo \"Unable to start virtual display.\""
- sleep 3 # give xvfb some time to start

script:
- npm run test
- npm test
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ and error with have an 'id' and 'message' parameter.
This method expected a testSuiteId, a browser name and the release version
and it will return a subscription.

The gcmSenderId and vapidPublicKey parameters are options BUT Chrome
requires one of them to work, otherwise you must catch the error.

http://localhost:8090/api/get-subscription/

**Input**
Expand All @@ -82,7 +79,6 @@ and error with have an 'id' and 'message' parameter.
testSuiteId: <Test Suite ID Number>,
browserName: <'chrome' | 'firefox'>,
browserVersion: <'stable' | 'beta' | 'unstable' >,
gcmSenderId: <Your GCM Sender ID>,
vapidPublicKey: <Base64 URL Encode Vapid Public Key>
}
```
Expand Down
Loading