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

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -