Skip to content

Update 03-AcceptanceTests.md #367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/03-AcceptanceTests.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ $I->see('Welcome, Davert!');

{% endhighlight %}

**This scenario can be performed either by PhpBrowser or by a "real" browser through Selenium WebDriver**.
**This scenario can be performed either by PhpBrowser or by a "real" browser through WebDriver**.

| | PhpBrowser | WebDriver |
| --- | --- | --- |
| Browser Engine | Guzzle + Symfony BrowserKit | Chrome or Firefox |
| JavaScript | No | Yes |
| `see`/`seeElement` checks if… | …text is present in the HTML source | …text is actually visible to the user |
| Read HTTP response headers | Yes | No |
| System requirements | PHP with [cURL extension](http://php.net/manual/book.curl.php) | Selenium Standalone Server, Chrome or Firefox |
| Access to HTTP response headers and status codes | Yes | No |
| System requirements | PHP with [ext-curl](http://php.net/manual/book.curl.php) | Chrome or Firefox; optionally with Selenium Standalone Server |
| Speed | Fast | Slow |

We will start writing our first acceptance tests with PhpBrowser.
Expand Down