Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "wait" feature #1

Closed
CodeWithCory opened this issue Oct 10, 2022 · 1 comment
Closed

Add "wait" feature #1

CodeWithCory opened this issue Oct 10, 2022 · 1 comment

Comments

@CodeWithCory
Copy link
Owner

CodeWithCory commented Oct 10, 2022

Add an option to wait for a specific element to appear:

Action string example: 'wait .popup'

Full example:

  spaCheck([
    'click button',
    'wait .popup',
    'click .new-button',
  ]);

Should probably have a default max time to wait, perhaps add a 3rd string param override the default.

@CodeWithCory
Copy link
Owner Author

Done as of 3.0.0, added the override as an option in the config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant