asynchronously PAge loading for Selenium

I am using an Selenium hybrid framework. Since pages on my Test application are asynchronous so I use explicit wait like visibilityOfElementLocated, elementtobeclickable, presenceofelement (rarely use this).

Now since page loads asynchronously so even after meeting these conditions, script fails. Scenario below: I have Add button to click on. Now trigger for it has not loaded in browser (means code that defines its action has not loaded). but my selenium explicit condition is met. So selenium clicks on button and nothing happens and script fails

How should this situation be handled.

链接地址: http://www.djcxy.com/p/44868.html

上一篇: 加载页面时无法单击某个元素

下一篇: Selenium的异步显示区域加载