The Story:
Protractor
itself is coming with a built-in webdriver-manager
command line tool:
The
webdriver-manager
is a helper tool to easily get an instance of a Selenium Server running. Use it to download the necessary binaries with:webdriver-manager update
Now start up a server with:
webdriver-manager start
According to webdriver-manager
binary source code, it uses config.json
to download a specific selenium
package version into a selenium
directory in the protractor
package root. For instance, now the config looks:
{
"webdriverVersions": {
"selenium": "2.48.2",
"chromedriver": "2.20",
"iedriver": "2.48.0"
}
}
This config is then manually updated when new selenium
, chrome or IE driver versions come out.
For this config, running webdriver-manager update
would trigger a selenium-server-standalone-2.48.2.jar
to be downloaded.
The Question:
Is it possible to have webdriver-manager
to install the currently latest/dev/trunk/master selenium
version? And, if not, how can I run protractor tests with the latest dev selenium
package version?
Aucun commentaire:
Enregistrer un commentaire