Skip to content

Commit

Permalink
Merge pull request #24 from crazyrohila/master
Browse files Browse the repository at this point in the history
#23 - Update the before function to accept webdrivercss options parameters
  • Loading branch information
amitaibu authored Sep 29, 2016
2 parents 340f829 + 2d8f629 commit 334aabb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ var wdcssSetup = {
/**
* Init the client.
*/
before: function(done, caps) {
before: function(done, caps, options) {
client = this.getClient(done, caps);
WebdriverCSS.init(client);
WebdriverCSS.init(client, options);

return client;
},
Expand Down

0 comments on commit 334aabb

Please sign in to comment.