Macro with secret passport field

Hi,

when I record the macro, the webpage has a secret password. The step looks like this

type_secret

[aria-controls^='pv_id'] $password

I put the passwort in the input field. when I run the macro it always asks to enter the password. How do I fix the macro, so the password is hardcoded.

thanks in advance

@lang61 the password is usually saved in monitor’s options. can you go monitor.distill.io and try adding a monitor using the macro? you will asked to enter the password which will be saved there.

please see https://www.youtube.com/watch?v=fSLGBqn2MGo to see how to configure a monitor to use the macro.

let me know if you need help at any step.

Thanks for help. I got it to work now. :grinning_face:

1 Like

cool, glad to help! :smiley:

I am trying to use Macro for a website that requires a password to log in.
I am following How to monitor webpages with login and password? – Distill
I noticed that after recording the steps for the password it shows type_secret and when I try to replay it, I still need to provide the password.

Update:
after watching https://www.youtube.com/watch?v=fSLGBqn2MGo
I still get the same error, the issue is
site responded with status code 403 (access denied)


is there a way to fix this issue?

@seyeeet can you try running it again and see if it works after retrying? once the macro is run, the password should be saved in the monitor’s config. it will then be used for checks automatically.

let me know if this doesn’t work. using a local device can be a good option in that case.

edit: the site returns 403 status code on initial access. we have updated the validator to not raise an error for this site. that should make it work.

Thanks, seems to be working now