diff --git a/Readme.md b/Readme.md index f3c04cf..202d9c9 100644 --- a/Readme.md +++ b/Readme.md @@ -1,7 +1,7 @@ # Soda -Selenium Node Adapter. A light-weight Selenium RC client for [NodeJS](http://nodejs.org), with additional [Sauce Labs](http://saucelabs.com) integration for acceptance testing in the cloud. +Selenium Node Adapter. A light-weight Selenium RC client for [NodeJS](http://nodejs.org), forked from [Soda](https://github.com/LearnBoost/soda) with support for [TestingBot](http://testingbot.com) ## Installation @@ -62,12 +62,8 @@ When chaining successful commands may receive a callback, which is useful for cu .getTitle(function(title){ assert.equal('Hello World', title); }) - .end(function(err){ - browser.testComplete(function() { - console.log('done'); - if(err) throw err; - }); - }) + .testComplete() + .end(function(err) { if (err) { console.log(err); } }) With the `.and()` method you can add additional commands to the queue. The callback accepts the client instance, which is also the value of "this". @@ -101,21 +97,6 @@ With this helper function we can now re-use this logic in several places, an exp }); }); -## Sauce Labs Videos & Logs - -When a job is complete, you can request the log or flv video from Sauce Labs. To access the url for these resources you may use `SauceClient#videoUrl` or `SauceClient#logUrl`, for example: - - ... - .end(function(err){ - console.log(this.jobUrl) - console.log(this.videoUrl) - console.log(this.logUrl) - }) - -Sauce Labs also provides a script that you may embed in your CI server to display the video, accessible via `SauceClient#video`, which will yield something similar to: - -