admc / wd

A node.js client for webdriver/selenium 2.
Other
1.53k stars 402 forks source link

Advantages over selenium-webdriver? #110

Closed ghost closed 11 years ago

ghost commented 11 years ago

What are some immediate difference from selenium-webdriver?

Do you support setting the screen dimension or view port so when I take a screenshot it will always be 800, 600 ?

sebv commented 11 years ago

Actually the official Selenium client is called WebDriverJS. I haven't tested it recently, but their api look good as well more in line with the Java client, and is now available on npm. I think wd predate WebDriverJS, it's why it exists in the first place.

Both implement the JsonWire protocol, so stuff like screenshot functionality are defined there, so likely behaviour will be similar.