This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // npm install [email protected] | |
| var selenium = require('selenium-standalone'); | |
| var webdriverio = require('webdriverio'); | |
| const version = '3.4.0'; | |
| const drivers = { chrome: | |
| { version: '2.30', | |
| arch: 'x64', | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function simulateDragDrop(sourceNode, destinationNode) { | |
| var EVENT_TYPES = { | |
| DRAG_END: 'dragend', | |
| DRAG_START: 'dragstart', | |
| DROP: 'drop' | |
| } | |
| function createCustomEvent(type) { | |
| var event = new CustomEvent("CustomEvent") | |
| event.initCustomEvent(type, true, true, null) |