public function iClickOnNo() { $this->getElement('prescriptionExistsNoOption')->click(); sleep(3); if ($this->iAmOnLatestEventPage()) { print "Test Passed!!"; } else { print "User not redirected to Latest Event Summary Page! TEST FAILED!!"; } }