WhiteHatBox
Official Twitter Account
Get Support
Create Support Ticket
Share Page
Following(0)
Partner List
kaputstyle@gmail.com

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 # kaputstyle@gmail.com 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?

If you want to support me for help, you can buy me a coffee - https://ko-fi.com/bots4you
Karmagedon
2018/11/29 15:51:18

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


Example module

If you want to support me for help, you can buy me a coffee - https://ko-fi.com/bots4you
<< < 1> >>
VerifyCode
Advanced Option