Codeceptjs: Support for mouseDown, mouseMove, and mouseUp

Created on 9 Feb 2016  路  4Comments  路  Source: codeceptjs/CodeceptJS

While click and rightClick works for most cases, we also need to be able to perform additional mouse functions to simulate drag and drop.

enhancement need investigation

Most helpful comment

I think this is still relevant.

All 4 comments

Thanks for the idea. I think the overall implementation is pretty simple and you can get done it yourself and send a PR. We use WebdriverIO as backend, and they have all those methods implemented in nice manner. I think they have even drag-and-drop thing. And you can submit pull request with adding those methods to CodeceptJS. All you need to write them in analogy with rightClick or doubleClick (i.e. to allow usage of strict locators and wrapping promises).

I will be glad to merge it

Seems simple enough. I noticed that the docs mention being able to extend WebDriverIO via custom helpers. So, I was heading down that path. But, this functionality seems generic enough to create a PR so others can benefit.

Yes, sure, generic solved issues are welcome. That's the mission of CodeceptJS - to solve common issues in nice way )

I think this is still relevant.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Isikiyski picture Isikiyski  路  4Comments

davorb picture davorb  路  4Comments

JoeChapman picture JoeChapman  路  3Comments

DenisChulkov picture DenisChulkov  路  4Comments

wahengchang picture wahengchang  路  4Comments