Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
docs(faq): add link to example of failing on browser errors
Browse files Browse the repository at this point in the history
  • Loading branch information
juliemr committed Apr 4, 2014
1 parent ec7ca89 commit 2f0c789
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ browser.manage().logs().get('browser').then(function(browserLog) {

This will output logs from the browser console. Note that logs below the set logging level will be ignored. WebDriver does not currently support changing the logging level for browser logs.

[See an example of using this API to fail tests if the console has errors](https://github.com/juliemr/protractor-demo/blob/master/howtos/browserlog/spec.js).

How do I produce an XML report of my test results?
--------------------------------------------------

Expand Down

0 comments on commit 2f0c789

Please sign in to comment.