1: <?php 2: namespace Azalea\Selenium\Toolkit\Validation; 3: 4: class ElementExists extends ValidationRule 5: { 6: public function test($params) 7: { 8: return $this->dom->hasElement($params); 9: } 10: } 11: 12: ?>