UNPKG

webdriverio-workflo

Version:

This is a customized version of webdriverio for use with workflo framework.

30 lines (26 loc) 901 B
/** * * Double-clicks at the current mouse coordinates (set by moveto. * * This command is deprecated and will be removed soon. Make sure you don't use it in your * automation/test scripts anymore to avoid errors. * * @see https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessioniddoubleclick * @type protocol * @deprecated * */ import deprecate from '../helpers/deprecationWarning' export default function doDoubleClick () { deprecate( 'doDoubleClick', this.options.deprecationWarnings, 'This command is not part of the W3C WebDriver spec and won\'t be supported in ' + 'future versions of the driver. It is recommended to just call the click command ' + 'on the same element twice in the row.' ) return this.requestHandler.create({ path: '/session/:sessionId/doubleclick', method: 'POST' }) }