-
Notifications
You must be signed in to change notification settings - Fork 570
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
Is element is visible in webpage (not just existing) until timeout, add appeared() - done #1036
Comments
Checking for visible() instead of present() in a webpage is rarely used. Thus there is no function to wait for timeout like exist() for present(). Below is an appeared() function which runs the visible() check until timeout of default 10 seconds. |
Users can put the tagui_global.js to tagui/src directory so all flows can access the appeared function, or put tagui_local.js to some directory so all flows in that directory can access the appeared function. Users can also add on their custom functions. |
With the appeared() function, following works -
|
Thought just add to TagUI standard helper functions. Since the cost is minimal, additional 2 lines of code for function definition. Above commit implements this. You can download the latest copy of TagUI with this fix and unzip to overwrite your existing installation (please drag the folders under tagui\src to overwrite your existing installation) - https://github.com/kelaberetiv/TagUI/archive/master.zip In the next release, this will become part of the packaged zip files. |
it works |
Closing issue, change included in latest packaged release - https://github.com/kelaberetiv/TagUI/releases/tag/v6.46.0 |
source - Telegram
The text was updated successfully, but these errors were encountered: