How to detect in selenium, is loading a javascript file loaded via ajax?

My main page loads another page through ajax. I have a javascript file. How to find out if the ajax page has completed loading in selenium? I can check the loading of the item. But there are links that are not clickable until this javascript file on the inner page is fully loaded. How can I make sure that these links are not available?

Because otherwise the click event is not executed. Although the item is present, it is not clickable. Its anchor is like Link

+3
source share
1 answer

selenium ajax. Selenium 2 . waitForcondition .

selenium.browserbot.getUserWindow().$.active== 0

. , jquery. ... $. - .

+2

Source: https://habr.com/ru/post/1777477/


All Articles