Lines Matching refs:this

31         $this->element = $element;
32 $this->dispatcher = $dispatcher;
40 return $this->dispatcher;
48 return $this->element;
54 * @return $this
58 $this->dispatch('beforeChangeValueOf', $this);
61 $this->element->sendKeys($value);
63 $this->dispatchOnException($exception);
66 $this->dispatch('afterChangeValueOf', $this);
68 return $this;
73 * @return $this
77 $this->dispatch('beforeClickOn', $this);
80 $this->element->click();
82 $this->dispatchOnException($exception);
85 $this->dispatch('afterClickOn', $this);
87 return $this;
97 $this->dispatch(
100 $this,
101 $this->dispatcher->getDefaultDriver()
105 $element = $this->newElement($this->element->findElement($by));
107 $this->dispatchOnException($exception);
111 $this->dispatch(
114 $this,
115 $this->dispatcher->getDefaultDriver()
128 $this->dispatch(
131 $this,
132 $this->dispatcher->getDefaultDriver()
137 foreach ($this->element->findElements($by) as $element) {
138 $elements[] = $this->newElement($element);
141 $this->dispatchOnException($exception);
144 $this->dispatch(
147 $this,
148 $this->dispatcher->getDefaultDriver()
156 * @return $this
161 $this->element->clear();
163 return $this;
165 $this->dispatchOnException($exception);
178 return $this->element->getAttribute($attribute_name);
180 $this->dispatchOnException($exception);
193 return $this->element->getCSSValue($css_property_name);
195 $this->dispatchOnException($exception);
207 return $this->element->getLocation();
209 $this->dispatchOnException($exception);
221 return $this->element->getLocationOnScreenOnceScrolledIntoView();
223 $this->dispatchOnException($exception);
234 return $this->element->getCoordinates();
236 $this->dispatchOnException($exception);
248 return $this->element->getSize();
250 $this->dispatchOnException($exception);
262 return $this->element->getTagName();
264 $this->dispatchOnException($exception);
276 return $this->element->getText();
278 $this->dispatchOnException($exception);
290 return $this->element->isDisplayed();
292 $this->dispatchOnException($exception);
304 return $this->element->isEnabled();
306 $this->dispatchOnException($exception);
318 return $this->element->isSelected();
320 $this->dispatchOnException($exception);
327 * @return $this
332 $this->element->submit();
334 return $this;
336 $this->dispatchOnException($exception);
348 return $this->element->getID();
350 $this->dispatchOnException($exception);
364 return $this->element->equals($other);
366 $this->dispatchOnException($exception);
376 $this->dispatch(
379 $this->dispatcher->getDefaultDriver()
389 if (!$this->dispatcher) {
393 $this->dispatcher->dispatch($method, $arguments);
402 return new static($element, $this->getDispatcher());