Advertisement
Guest User

Untitled

a guest
May 31st, 2016
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. var webdriverjs = require('webdriverio');
  2.  
  3. var World;
  4. World = function World(callback) {
  5. 'use strict';
  6. var client = webdriverjs.remote({
  7. desiredCapabilities: {
  8. browserName: 'phantomjs'
  9. },
  10. logLevel: 'silent'
  11. });
  12.  
  13. var world = {
  14. client: client
  15. };
  16. callback(world);
  17. };
  18. exports.World = World;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement