Here are some examples for WebdriverIO: a well known implementation of WebDriver in NodeJS.
wdio
is a test runner specially made for WebdriverIO. It makes your test easier.
- Ex1. WDIO with PhantomJS only
- Ex2. WDIO with PhantomJS and Cloud Testing: Ex1 + cloud testing
- Ex3. Express and Tunneling: Ex2 + Tunneling
If it's the first time you use WebdriverIO, we strongly recomend you to use it with wdio
like above. But, sometimes wdio
could be a bit messy when we need to combine some testing tools together. This example shows you how to do it without wdio
.
- Ex4. Standalone mode: basically equivalent to Ex2