protected function iAmOnPrescriptionPage() { return (bool) $this->find('xpath', $this->getElement('repeatPrescription')->getXpath()); }