This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@christian-bromann My question is around the Custom Commands. I went through the example given here: http://webdriver.io/guide/usage/customcommands.html | |
Based on that created to JS files | |
1) getUrlAndTitle.js: which contains the code for custom command: | |
‘ | |
client.addCommand("getUrlAndTitle", function(customVar, cb) { | |
this.url(function(err,urlResult) { | |
this.getTitle(function(err,titleResult) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@christian-bromann My question is around the Custom Commands. I went through the example given here: http://webdriver.io/guide/usage/customcommands.html | |
Based on that created to JS files | |
1) getUrlAndTitle.js: which contains the code for custom command: | |
client.addCommand("getUrlAndTitle", function(customVar, cb) { | |
this.url(function(err,urlResult) { | |
this.getTitle(function(err,titleResult) { |