- We add some more waits function in Sahi. Lagacy scripts are fully supported.
- It's important that we use jQuery selector to locate html element (Sahi selector sucks), please refer here for jQuery selector details
- It's like wait functions in Selenium.
- By co-worker request, we add ExtJs wait functions.
- If you need more, please send us new issues, thanks very much.
Run test/test.sah to test test/test.html...
- Make sure your project include jQuery library
- Include target/sahi-wait.sah in your sahi script
_include('sahi-wait.sah');
- Use new wait functions in your sahi script.
It's important that we use jQuery selector to locate html element (Sahi selector sucks), please refer here for jQuery selector details
Wait until an element not exist. The selector is jQuery selector.
Wait until the images are loaded.
Wait until an element is visible. (It's not reliable...)
(It's not reliable...)
Wait until a ExtJs window popup.
Wait until all Ext component in view are unmasked.
Wait until Ext component in a specific window are unmasked.
Wait until a form field label is visible. (a form field is visible.)