Lines Matching refs:element

49      * If $element is provided, move to the middle of the element first.
51 * @param WebDriverElement $element
54 public function click(WebDriverElement $element = null)
57 new WebDriverClickAction($this->mouse, $element)
65 * If $element is provided, move to the middle of the element first.
67 * @param WebDriverElement $element
70 public function clickAndHold(WebDriverElement $element = null)
73 new WebDriverClickAndHoldAction($this->mouse, $element)
81 * If $element is provided, move to the middle of the element first.
83 * @param WebDriverElement $element
86 public function contextClick(WebDriverElement $element = null)
89 new WebDriverContextClickAction($this->mouse, $element)
97 * If $element is provided, move to the middle of the element first.
99 * @param WebDriverElement $element
102 public function doubleClick(WebDriverElement $element = null)
105 new WebDriverDoubleClickAction($this->mouse, $element)
174 * Extra shift, calculated from the top-left corner of the element, can be set by passing $x_offset and $y_offset
177 * @param WebDriverElement $element
182 public function moveToElement(WebDriverElement $element, $x_offset = null, $y_offset = null)
186 $element,
196 * If $element is provided, move to the middle of the element first.
198 * @param WebDriverElement $element
201 public function release(WebDriverElement $element = null)
204 new WebDriverButtonReleaseAction($this->mouse, $element)
212 * If $element is provided, focus on that element first.
215 * @param WebDriverElement $element
219 public function keyDown(WebDriverElement $element = null, $key = null)
222 new WebDriverKeyDownAction($this->keyboard, $this->mouse, $element, $key)
230 * If $element is provided, focus on that element first.
233 * @param WebDriverElement $element
237 public function keyUp(WebDriverElement $element = null, $key = null)
240 new WebDriverKeyUpAction($this->keyboard, $this->mouse, $element, $key)
248 * If $element is provided, focus on that element first (using single mouse click).
251 * @param WebDriverElement $element
255 public function sendKeys(WebDriverElement $element = null, $keys = null)
261 $element,