This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
Added new function for waiting for an element to appear on page. #344
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
I frequently work with Behat + Mink and I have a feature here, that I like very much in my projects. To give some love back to this awesome library, I want to contribute a new feature.
This could maybe be part of the MinkContext.
In modern web applications, some magic can happen by executing javascript on your website. When you write behat tests, I often stumpled over the fact, that some elements may not be present, when I want to use them in my behat tests. (e.g. Make sure that there are present) Sometimes javascript function can be difficult to execute in the browser and can take some time, sometimes the mashine, which is executing the tests, is not powerfull enough to get things to work in time.
For that reason I want to contribute the phrase:
Then I wait for element ".someClass" to appear