Selenium wait for Ajax content to load - universal approach

前端 未结 4 2125
清歌不尽
清歌不尽 2020-11-29 02:49

Is there a universal approach for Selenium to wait till all ajax content has loaded? (not tied to a specific website - so it works for every ajax website)

4条回答
  •  感动是毒
    2020-11-29 03:53

    I don't believe that there is a universal approach out of the box. I typically make a method that does a .waituntilrowcount(2) or waituntilvisible() that polls an element.

提交回复
热议问题