WindmillWWindmill
Powered by
kimsiaK
Windmill•2y ago•
3 replies
kimsia

Self hosted. how to use approval or input step to manually key in login credentials?

I want a script that will perform some actions in substack. The key part is that the script needs to login as me first.

I have looked at https://www.windmill.dev/docs/flows/flow_approval and there's such a thing as an approval step.

is it possible using chromium worker and then using an approval step for me to manually key in my login credentials (which includes 2FA) then performs additional step?

I am thinking like this:

input: url (or approval)

go_to_url script: it's a script to visit a login page for substack

input: username, password  (or approval)

fill_in_form script: fill in the login using the previous input

input: 2FA code  (or approval)

fill_in_form script: fill in the 2FA code

action script: extract the title of the page after redirected
input: url (or approval)

go_to_url script: it's a script to visit a login page for substack

input: username, password  (or approval)

fill_in_form script: fill in the login using the previous input

input: 2FA code  (or approval)

fill_in_form script: fill in the 2FA code

action script: extract the title of the page after redirected


i found this
hub/1541/http/send_get_request
hub/1541/http/send_get_request
step. can it act as the
go_to_url
go_to_url
script in my flow?

Or i need to use with selenoid or selenium? as in this eaxmple https://www.windmill.dev/blog/use-selenium-with-windmill
Suspend & Approval / Prompts | Windmill
Flows can be suspended until resumed or canceled event(s) are received. This
How to Use Selenium and Selenoid with Windmill | Windmill
We will look at how to use Windmill and Selenoid, and Selenium Wire for the
How to Use Selenium and Selenoid with Windmill | Windmill
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Restoring Self-Hosted Instance - Login Issue
Mistie | BRITECITYMMistie | BRITECITY / help
12mo ago
Instance timeout ignored during an approval step
wdesertWwdesert / help
11mo ago
How can I use SQL scripts with Supabase resource in Windmill (self-hosted)?
Try3DTTry3D / help
8mo ago
logging on self-hosted
SpookyBiscuit40SSpookyBiscuit40 / help
2y ago