Lines Matching defs:by
79 * @param WebDriverBy $by
83 public function findElements(WebDriverBy $by)
85 $this->dispatch('beforeFindBy', $by, null, $this);
89 foreach ($this->driver->findElements($by) as $element) {
97 $this->dispatch('afterFindBy', $by, null, $this);
103 * @param WebDriverBy $by
107 public function findElement(WebDriverBy $by)
109 $this->dispatch('beforeFindBy', $by, null, $this);
112 $element = $this->newElement($this->driver->findElement($by));
118 $this->dispatch('afterFindBy', $by, null, $this);