Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Support specifying an occurrence ordinal for things to set/click #6

Open
mfulton26 opened this issue Mar 19, 2018 · 0 comments
Open

Comments

@mfulton26
Copy link
Owner

Examples:

await automator.click.second("Process Payment"); // click 2nd occurrence of "Process Payment"

await automator.set.third("First Name").to("Joyce"); // set 3rd occurrence of "First Name"

await automator.set[0]('Shipping Information').to('2-Day'); // set 1st "Shipping Address"
await automator.set[1]('Shipping Information').to('2-Day'); // set 2nd "Shipping Address"

await automator.set.first('Shipping Information').to('2-Day'); // set 1st "Shipping Address"
await automator.set.second('Shipping Information').to('2-Day'); // set 2nd "Shipping Address"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant