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

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -