When playing a script that contains multiple click actions, the first action executes successfully, and the click is committed. But then, my script fails because the second click action is performed before the target appears. What should I do to avoid this problem??
top of page
To test this feature, visit your live site.
My script is executing too fast. How to slow it down?? My PC can’t handle it.
My script is executing too fast. How to slow it down?? My PC can’t handle it.
2 answers0 replies
Comments (2)
bottom of page
Hi, Sam! Thank you for your question. We suggest several solutions for this problem.
Set the Delays related to the mouse in the Global Configuration.
We provide several delay settings in the Global Configuration, General. If you want to add waiting time before Mouse Click is executed, you can pay attention to the Mouse Delay. Based on many customers’ experiences, setting it to 0.5-1 sec is enough to give a short delay before Clicking the target. Also, you can adjust the Image Analysis Duration to allow enough time to process the target images.
Add a Delay action between Click actions.
If the problem only happens in a specific script and you don’t want to change the delays in configuration (because it will affect all scripts), you can use the Delay action that can be found under the Flow Control category. Place it between two Click actions in your script.
Use Wait/Wait for Result to wait for your target appears before clicking it.
This is the most recommended solution if your target will appear in a few seconds. For example, when your next click target is on a new page that needs time to load. The advantage of the Wait/Wait for Result action is that you can set the timeout longer, but when the target is found, it will stop the waiting and execute the following action immediately.
Watch this video for the Wait action demo:
https://www.youtube.com/watch?v=-44nNpeg-IY