/** * Assert that all elements in $this->map are present on the page */ protected function assertMapConditions() { foreach ($this->map as $field => $locator) { $this->se->assertTrue( $this->se->isElementPresent($locator), 'Locator field "' . $field . '" is not present.'); } }