jquery - Selenium using javascript events -
is there way make selenium pause/hold util next javascript event. example :
if design same login page gmail user name ,password , button. selenium test case, fill username ,password , submit.
but want is, if put user name in mytextbox on focuslost event want fill same textbox on gmail page,same password, , if click on login button on page should perform click event on main gmail page.
is possible..? running selenium on specific events?
plz share helpful
thanks in advance..
if use javascriptexecutor , executescript method pauses execution after until result returned. there amount of discussion on stackoverflow regarding difference between executescript , executeasyncscript can in case.
and, java api doc here
Comments
Post a Comment