1: <?php
2: namespace Azalea\Selenium\EHR\UI\Charts;
3:
4: class ChartsList extends \Azalea\Selenium\EHR\UI\Grid
5: {
6: protected static $selector = "#chart-list-tab .awa-ui-grid";
7:
8: /**
9: * Returns the first row element in the grid.
10: * @return \Azalea\Selenium\EHR\UI\Patients\PatientsListRow
11: */
12: public function getFirst()
13: {
14: return new ChartsListRow($this->getDriver(), $this->getRowByIndex(0));
15: }
16:
17: /**
18: * Returns the nth row element in the grid.
19: * @return \Azalea\Selenium\EHR\UI\Patients\PatientsListRow
20: */
21: public function getAt($index)
22: {
23: return new ChartsListRow($this->getDriver(), $this->getRowByIndex($index));
24: }
25: }
26:
27: ?>