1: <?php
2: namespace Azalea\Selenium\EHR\UI\Patients;
3:
4: class PatientSearchPopup extends \Azalea\Selenium\EHR\UI\Popup
5: {
6: protected static $selector = ".awa-mvc-PopupView";
7:
8: /**
9: * Gets the search text string from the search box.
10: * @return string
11: */
12: public function getSearchText()
13: {
14: return $this->byCss(static::$selector." .autoselect_search")->value();
15: }
16:
17: /**
18: * @override
19: * @return boolean
20: */
21: public function verify($args = array())
22: {
23: // if (!$this->getTitle() != "Patient Search") {
24: // return false;
25: // }
26:
27: return parent::verify($args);
28: }
29: }
30: ?>