add navigateTo command

This commit is contained in:
Jake McDermott
2017-11-07 13:05:33 -05:00
parent 6c1919273b
commit 0afe94c4d4

View File

@@ -0,0 +1,8 @@
exports.command = function navigateTo (url) {
this.url(url);
this.waitForElementVisible('div.spinny');
this.waitForElementNotVisible('div.spinny');
return this;
};