Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 632 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 632 Bytes

wd-deasync

A wrapper around wd.js to make all Webdriver and Element methods synchronous, using deasync. Adapted loosely from node-wd-sync.

This library is meant to offer a straightforward API to WebDriver that’s also easy to use interactively in the REPL and the debugger. If the runtime environment supports ES6 generators (i.e. Node ≥0.11), it might be preferable to use something like co to enable yield-ing on wd’s Promise interface, though this still complicates interactive usage.