mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
Remove Saucelabs docs, not used
I haven’t heard of anybody actually using Saucelabs, and those instructions are already out of date - e.g. the wd_host seems to require SSL now (https://wiki.saucelabs.com/display/DOCS/Instant+Selenium+PHP+Tests) and the capabilities are woefully outdated.
This commit is contained in:
parent
6eedb7e6ea
commit
e8f140b470
19
README.md
19
README.md
@ -297,7 +297,7 @@ Example: mymodule/tests/behat/features/bootstrap/MyModule/Test/Behaviour/Feature
|
||||
|
||||
### Screen Size
|
||||
|
||||
In some Selenium drivers like [SauceLabs](http://www.saucelabs.com) you can
|
||||
In some Selenium drivers you can
|
||||
define the desired browser window size through a `capabilities` definition.
|
||||
By default, Selenium doesn't support this though, so we've added a workaround
|
||||
through an environment variable:
|
||||
@ -413,23 +413,6 @@ and [download the correct Firefox release](https://ftp.mozilla.org/pub/firefox/r
|
||||
Alternatively, [configure Travis](https://docs.travis-ci.com/user/firefox/) to use a newer version.
|
||||
Don't forget to disable auto-updates in your Firefox settings.
|
||||
|
||||
### How do I use SauceLabs.com for remote Selenium2 testing?
|
||||
|
||||
Here's a sample profile for your `behat.yml`:
|
||||
|
||||
# Saucelabs.com sample setup, use with "vendor/bin/behat --profile saucelabs"
|
||||
saucelabs:
|
||||
extensions:
|
||||
SilverStripe\BehatExtension\MinkExtension:
|
||||
selenium2:
|
||||
browser: firefox
|
||||
# Add your own username and API token here
|
||||
wd_host: <user>:<api-token>@ondemand.saucelabs.com/wd/hub
|
||||
capabilities:
|
||||
platform: "Windows 2008"
|
||||
browser: "firefox"
|
||||
version: "15"
|
||||
|
||||
## Cheatsheet
|
||||
|
||||
This is a manually categorized list of available commands
|
||||
|
Loading…
Reference in New Issue
Block a user