Last active
October 8, 2022 17:36
-
-
Save jdc-cunningham/9698c9d06660e01c66856f9a83c07018 to your computer and use it in GitHub Desktop.
Sample app interaction JSON pattern
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"url": "", | |
"auth_interactions": [ | |
{ | |
"type": "input", | |
"name": "email", | |
"dom_target": "input[type=email]", | |
"value_lookup": "random-string-for-env" | |
}, | |
{ | |
"type": "input", | |
"name": "password", | |
"dom_target": "input[type=password]", | |
"value_lookup": "random-string-for-env" | |
}, | |
{ | |
"type": "button", | |
"name": "sign in", | |
"dom_target": "button[type=submit]" | |
}, | |
{ | |
"type": "2fa", | |
"url": "", | |
"dom_targets": "'input[type=radio]'", | |
"which_node": 1 | |
}, | |
{ | |
"type": "button", | |
"dom_target": "button[type=submit]" | |
}, | |
{ | |
"type": "input", | |
"name": "2fa code", | |
"dom_target": "input[type=text]", | |
"2fa_lookup": "upgrade" | |
}, | |
{ | |
"type": "button", | |
"dom_target": "button[type=submit]" | |
}, | |
{ | |
"type": "balance target", | |
"dom_target": "span[data-auto=current-balance-value]", | |
"spreadsheet_column": "T" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment