java - Selenium click sometimes causes page to load and sometimes doesn't -


clicking on button in web page causes entire page load, , part of load. how can call waitforpagetoload without page loading, , able run additional commands after elements present, or other command can use, wait page loaded , enable me run additional commands on page. (using selenium 2.)

clicking on button in web page causes entire page load, , part of load.

i assume design, , not problem.

if testing, should know behavior expecting. if expecting full page load, use clickandwait. if expecting partial load, use click followed waitforcondition.


Comments

Popular posts from this blog

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -

Python __call__ special method practical example -