-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #3 - Set chrome as default browser
- Loading branch information
arknoll
committed
Oct 11, 2016
1 parent
9332368
commit d596d68
Showing
2 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,9 @@ Set up selenium and Firefox for running selenium tests. | |
#### Variables | ||
|
||
* `selenium_install_dir`: [default: `/opt`] Install directory | ||
* `selenium_version`: [default: `2.44.0`] Install version | ||
* `selenium_install_firefox`: [default: `yes`] Whether to install FireFox | ||
* `selenium_install_chrome`: [default: `no`] Whether to install Google Chrome | ||
* `selenium_version`: [default: `2.53.0`] Install version | ||
* `selenium_install_firefox`: [default: `no`] Whether to install FireFox | ||
* `selenium_install_chrome`: [default: `yes`] Whether to install Google Chrome | ||
|
||
## Dependencies | ||
|
||
|
@@ -34,6 +34,22 @@ $ service selenium stop | |
$ service selenium restart | ||
``` | ||
|
||
#### Known issue with Firefox | ||
|
||
For some OS combinations the package manager version of Firefox | ||
doesn't work appropriately with Selenium. In these circumstances | ||
you may see an error like: | ||
|
||
``` | ||
WebDriver\Exception\UnknownError: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: | ||
``` | ||
|
||
Chrome and chromedriver don't appear to have this issue. If | ||
possible, use Chrome. If you still want to use firefox, then | ||
I suggest using https://galaxy.ansible.com/arknoll/firefox/ | ||
to install an older version of firefox. (38.0 worked for me | ||
on Ubuntu 16.04). | ||
|
||
#### License and Author | ||
|
||
Author:: Alex Knoll ([email protected]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters