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

elementExists #101

Closed
mrWh1te opened this issue Mar 4, 2021 · 1 comment
Closed

elementExists #101

mrWh1te opened this issue Mar 4, 2021 · 1 comment

Comments

@mrWh1te
Copy link
Owner

mrWh1te commented Mar 4, 2021

Is your feature request related to a problem? Please describe.
Want to run BotActions only IF an element exists on the page

Describe the solution you'd like
Want elementExists(selector: string): ConditionalBotAction to check the webpage for an element by a selector. Return TRUE if found, else FALSE.

Then pair it with givenThat()() to branch the logic

@mrWh1te mrWh1te added enhancement New feature or request botaction and removed enhancement New feature or request labels Mar 4, 2021
@mrWh1te
Copy link
Owner Author

mrWh1te commented Apr 21, 2021

added in #105

released in core v1.3

@mrWh1te mrWh1te closed this as completed Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant