Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var webdriverjs = require('webdriverio');
- var World;
- World = function World(callback) {
- 'use strict';
- var client = webdriverjs.remote({
- desiredCapabilities: {
- browserName: 'phantomjs'
- },
- logLevel: 'silent'
- });
- var world = {
- client: client
- };
- callback(world);
- };
- exports.World = World;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement