clickAndWait(locator)
Generated from click(locator)
Arguments:
· locator - an element locator
Clicks on a link, button,checkbox or radio button. If the click action causes a new page to load (like alink usually does), call waitForPageToLoad.
if open was the same window,you coulduse click,that's OK!But,if you used clickAndWait,cause a caseerror timeout!
联系客服