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
Post a Comment