Codeceptjs: "moveTo" command will be depcrecated soon - WebDriverIO

Created on 22 May 2017  Â·  2Comments  Â·  Source: codeceptjs/CodeceptJS

What are you trying to achieve?

We use 'moveCursorTo' to move the cursor to an item in a table.

What do you get instead?

It is working, but we are now seeing deprecation warnings. What should we plan to use in the future?

• I move cursor to {"css":"tr[name=\"2162\"] td[data-name='NAME']"}
WARNING: the "moveTo" command will be depcrecated soon. 
  Please use a different command in order to avoid failures
 in your test after updating WebdriverIO.

Details

  • CodeceptJS version: 0.6.3
  • NodeJS Version: 6.10.1
  • Operating System: macOS Sierra - 10.12.4
  • Protractor || WebDriverIO || Nightmare version (if related): WebDriverIO - 4.8.0
  • Configuration file:

Most helpful comment

From https://github.com/webdriverio/webdriverio/issues/2076:

@christian-bromann:

@pzrq we actually don't know yet how we would replace the keys command. It won't be removed from the WebdriverIO API until there is a replacement so take this warning not super seriously.

@Godsmith just use v4.7.x which doesn't contain these warnings

All 2 comments

Related #525
To be honest I don't know what to do :cry:

From https://github.com/webdriverio/webdriverio/issues/2076:

@christian-bromann:

@pzrq we actually don't know yet how we would replace the keys command. It won't be removed from the WebdriverIO API until there is a replacement so take this warning not super seriously.

@Godsmith just use v4.7.x which doesn't contain these warnings

Was this page helpful?
0 / 5 - 0 ratings

Related issues

willhowlett picture willhowlett  Â·  9Comments

jmitchell89 picture jmitchell89  Â·  15Comments

gaurav21r picture gaurav21r  Â·  10Comments

fatso83 picture fatso83  Â·  9Comments

zordius picture zordius  Â·  10Comments