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

Support specifying roles for things to click/set #4

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

Support specifying roles for things to click/set #4

mfulton26 opened this issue Mar 16, 2018 · 0 comments

Comments

@mfulton26
Copy link
Owner

mfulton26 commented Mar 16, 2018

Examples:

await automator.click.button("Process Payment"); // click a button
await automator.click.link("Process Payment"); // click a link
await automator.click.menuitem("Process Payment"); // click a menuitem
await automator.click.command("Process Payment"); // click a button, link, or menuitem

await automator.set.textbox("First Name").to("Joyce");
await automator.set.radiogroup('Shipping Information').to('2-Day');

Note that this proposed syntax uses WAI ARIA Widget Roles.

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