WhiteHatBox
Share Page
Following(0)
Partner(s)

Pause for user input?

ReplyThanks 2018/11/27 10:33:06 0 0

I searched the forum and videos and didn't see a solution. I want to pause my module and allow a user to manually fill out a lengthy form and click the submit button. Then the bot will resume on the next page load. Is this possible?


I've tried to do a wait loop that will search for an element that will display on the next page after a user clicks submit. However the loop is breaking and closing the module I'm assuming because it can't find the element.


I could also recreate the form the the bot's forms then put the results into variables then use set value on the actual form page and have the bot click submit. I rather not do this because of the 20+ form options a user may only want to change 2 or 3 of them so Id hate to have to force them to fill out a complete form at the beginning just to pass those variables to the actual form.


Hope this makes sense.

Karmagedon
2018/11/29 14:38:44
1 # [email protected] 2018/11/27 10:33:06

I searched the forum and videos and didn't see a solution. I want to pause my module and allow a user to manually fill out a lengthy form and click the submit button. Then the bot will resume on the next page load. Is this possible?


I've tried to do a wait loop that will search for an element that will display on the next page after a user clicks submit. However the loop is breaking and closing the module I'm assuming because it can't find the element.


I could also recreate the form the the bot's forms then put the results into variables then use set value on the actual form page and have the bot click submit. I rather not do this because of the 20+ form options a user may only want to change 2 or 3 of them so Id hate to have to force them to fill out a complete form at the beginning just to pass those variables to the actual form.


Hope this makes sense.

Do you use module launch in a compiled application or in a project with forms?

You need input in the form of a project or in a Debug window on a browser page?

Module Development - [email protected] // Thanks - https://ko-fi.com/arbots
Karmagedon
2018/11/29 15:51:18

I made a small module with one of the solutions (action with "*" have comments).


Example module

Module Development - [email protected] // Thanks - https://ko-fi.com/arbots
<< < 1> >>
VerifyCode
Advanced Option