4
User
Recs.
Recs.
11
Updates
Last
Updated
Updated
Here’s the Deal
Slant is powered by a community that helps you make informed decisions. Tell us what you’re passionate about to get your personalized feed and help others.
Activity
8 Options
Synchronous JavaScript wrapper around the Java Selenium Webdriver API that eliminated the need for callbacks or promises. Doesn't include any testing framework; you simply use the Selenium Java API.
Specs
Specs are quantitative aspects of the option such as the price
Pros

Pro Synchronous. No promises or callbacks needed.
webdriver-sync avoids this
browser.get("http://foo.html", function() {
browser.title(function(err, title) {
assert.ok(~title.indexOf('foo title'), 'Wrong title!');
browser.elementById('i am a link', function(err, el) {
browser.clickElement(el, function() {
browser.eval("window.location.href", function(err, href) {
assert.ok(~href.indexOf('foo title 2'));
browser.quit();
});
});
});
});
});
in favor of this - completely synchronous API! No promises or callbacks needed:driver.get("http://foo.html");
title = driver.getTitle();
link = driver.findElement(By.id('i am a link'));
link.click();
assert(driver.getCurrentUrl().indexOf('foo title 2') > -1);
title.should.equal('foo title');
console.log(title);
driver.quit();

Know any positive aspects of this option?
Cons
Recommendations
webdriver-sync
Recommended 2 years ago
ConsiderateKullervo hasn’t added their experience, pros or cons to their recommendation.
webdriver-sync
Recommended 7 years ago
Slimothy hasn’t added their experience, pros or cons to their recommendation.
Comments
See Product Page for "webdriver-sync"Built By the Slant team
Find the best product instantly.
Lustre recommends the best products at their lowest prices – right on Amazon.
4.7 star rating
Try it now - it's free