testiumjs / testium-core

Juggling the bits and pieces to run integration tests
BSD 3-Clause "New" or "Revised" License
4 stars 7 forks source link

use chromedriver directly without jar #37

Closed dbushong closed 6 years ago

dbushong commented 6 years ago

This + testium-driver-wd >= 2.3.0 supports headless chrome:

$ npm i -D chromedriver
browser = chrome

[chrome]
headless = true

chromedriver will no longer be automatically downloaded, as the selenium-download code is not triggered by browser = chrome automatically, but you can just include the chromedriver module in your devDependencies to achieve a similar result