Closed ORESoftware closed 7 years ago
This is http based, i.e. it's just a server. Whether it uses Promises, synchronous code, or something else, depends entirely on what client you use.
The recommended client is cabbie, which comes in both "sync" and "async" mode (the latter of which uses promises). See https://cabbiejs.org/ (I'm still working on full documentation for cabbie).
I meant specifically:
// navigate to a url in the currently active window
driver.browser.activeWindow.navigateTo('http://example.com');
does that return a Promise or...? seems very unclear
If you use cabbie-sync it is synchronous, if you use cabbie-async it is asynchronous. If you use another web driver client it can vary.
The readme example is synchronous.
If this is promised based, perhaps include an example using Promises and where they apply?