botcity-dev / botcity-framework-core

BotCity Framework - Open Source RPA
https://documentation.botcity.dev/frameworks/desktop/
Apache License 2.0
57 stars 18 forks source link

Added method tripleClickAt #9

Closed gianlucampos closed 3 years ago

hhslepicka commented 3 years ago

Maybe we could refactor the clickAt to have an overload with the number of clicks so we can reuse for double, triple and etc... Also the clickAt is missing the sleep(sleepAfterAction);. Could you please address that?

gianlucampos commented 3 years ago

Done

hhslepicka commented 3 years ago

@gianlucampos the new clickAt looks good.

Could you refactor the following methods:

This will help with maintenance in case we need to change the click or add more clicks. Now that I look into the WebBot, they added the number of clicks into the moveAndClick method.

@gabrielarchanjo what do you think? Should we go with the WebBot way or the refactor proposed here at DesktopBot for uniformity?