I would use
waitForElementPresent(locator)
This will wait until the element is present in the DOM.
If you need to check the element is visible, you may be better using
waitForElementHeight(locator)
More Related Contents:
- Selenium WebDriver – determine if element is clickable (i.e. not obscured by dojo modal lightbox)
- Who can explain this ajax code for me [closed]
- jQuery.ajax handling continue responses: “success:” vs “.done”?
- Keep p:dialog open when a validation error occurs after submit
- jQuery $.ajax(), $.post sending “OPTIONS” as REQUEST_METHOD in Firefox
- Same origin Policy and CORS (Cross-origin resource sharing)
- How to get response status code from jQuery.ajax?
- Getting “net::ERR_BLOCKED_BY_CLIENT” error on some AJAX calls
- Does an HTTP Status code of 0 have any meaning?
- CORS issue while making an Ajax request for oauth2 access token
- Google Maps API throws “Uncaught ReferenceError: google is not defined” only when using AJAX
- Selenium many Logs (How to remove)
- How to enable cross-domain request on the server?
- What values can I pass to the event attribute of the f:ajax tag?
- How to encode Doctrine entities to JSON in Symfony 2.0 AJAX application?
- Access denied in IE 10 and 11 when ajax target is localhost
- Rendering other form by ajax causes its view state to be lost, how do I add this back?
- MVC5, AjaxHelper, and the Correct Scripts & Load Order
- Extract part of HTML document in jQuery
- HTML5 Video is not working with AngularJS ng-src tag
- Minimum Working Example for ajax POST in Laravel 5.3
- Does Vue.JS work with AJAX http calls?
- Stop the browser “throbber of doom” while loading comet/server push iframe
- jQuery AJAX ‘multipart/form-data’ Not Sending Data?
- Enable CORS in Golang
- List of events
- ‘JSON’ is undefined error in IE only
- ICEfaces libary in classpath prevents Save As dialog from popping up on file download
- Cross-Origin Request Blocked
- localhost :: cross domain ajax