click(), waitForPageToLoad() changed to clickAndWait() in selenium tests