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 function wait for enabled or disabled state of element #5

Merged
merged 2 commits into from
Jun 14, 2023

Conversation

atotto
Copy link
Owner

@atotto atotto commented Jun 12, 2023

WaitForEnabled() method will allow webtester to wait for an element to become enabled before interacting with it. This can be useful in cases where an element is initially disabled, such as when a user needs to click on a button to enable it.

For example, if you are testing a website that has a "Login" button, you can use the WaitForEnabled() method to wait for the button to become enabled before clicking on it. This will ensure that you are always testing the website with the button enabled, even if it is initially disabled.

@atotto atotto marked this pull request as ready for review June 14, 2023 02:38
@atotto atotto merged commit 4ae23d7 into main Jun 14, 2023
@atotto atotto deleted the feature/wait-for-enabled-element branch June 14, 2023 02:39
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

Successfully merging this pull request may close these issues.

1 participant