mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
Update readme for usage with firefox 26/selenium 2.41
This commit is contained in:
parent
5bf9eb4961
commit
5d4e86dbfc
12
README.md
12
README.md
@ -47,13 +47,17 @@ Switch to the newly created webroot, and add the SilverStripe Behat extension.
|
|||||||
|
|
||||||
Now get the latest Selenium2 server (requires Java):
|
Now get the latest Selenium2 server (requires Java):
|
||||||
|
|
||||||
wget https://selenium.googlecode.com/files/selenium-server-standalone-2.39.0.jar
|
wget https://selenium.googlecode.com/files/selenium-server-standalone-2.41.0.jar
|
||||||
|
|
||||||
On OSX, you can also use [Homebrew](http://brew.sh/): `brew install selenium-server-standalone`.
|
On OSX, you can also use [Homebrew](http://brew.sh/): `brew install selenium-server-standalone`.
|
||||||
If you are having issues running Selenium with your browser please check
|
If you are having issues running Selenium with your browser please check
|
||||||
that you're on the [latest driver](https://code.google.com/p/selenium/downloads/list),
|
that you're on the [latest driver](https://code.google.com/p/selenium/downloads/list),
|
||||||
since the download link above might be out of date.
|
since the download link above might be out of date.
|
||||||
|
|
||||||
|
Ensure you have a supported version of firefox installed:
|
||||||
|
|
||||||
|
wget https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/26.0/mac/en-GB/Firefox%2026.0.dmg
|
||||||
|
|
||||||
Now install the SilverStripe project as usual by opening it in a browser and following the instructions.
|
Now install the SilverStripe project as usual by opening it in a browser and following the instructions.
|
||||||
Protip: You can skip this step by using `[SS_DATABASE_CHOOSE_NAME]` in a global
|
Protip: You can skip this step by using `[SS_DATABASE_CHOOSE_NAME]` in a global
|
||||||
[`_ss_environment.php`](http://doc.silverstripe.org/framework/en/topics/environment-management)
|
[`_ss_environment.php`](http://doc.silverstripe.org/framework/en/topics/environment-management)
|
||||||
@ -71,7 +75,11 @@ in your project root, or set is as an environment variable in your terminal sess
|
|||||||
|
|
||||||
You can run the server locally in a separate Terminal session:
|
You can run the server locally in a separate Terminal session:
|
||||||
|
|
||||||
java -jar selenium-server-standalone-2.39.0.jar
|
java -jar selenium-server-standalone-2.41.0.jar
|
||||||
|
|
||||||
|
In some cases it may be necessary to start a specific version of firefox
|
||||||
|
|
||||||
|
java -jar selenium-server-standalone-2.41.0.jar -Dwebdriver.firefox.bin="/Applications/Firefox26.app/Contents/MacOS/firefox-bin"
|
||||||
|
|
||||||
### Running the Tests
|
### Running the Tests
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user