Lines Matching refs:null
40 * @param null|WebDriverCoordinates $where
44 public function click(WebDriverCoordinates $where = null)
75 public function contextClick(WebDriverCoordinates $where = null)
115 public function doubleClick(WebDriverCoordinates $where = null)
119 $moveAction = $where === null ? [] : [$this->createMoveAction($where)];
145 public function mouseDown(WebDriverCoordinates $where = null)
176 * @param int|null $x_offset
177 * @param int|null $y_offset
182 WebDriverCoordinates $where = null,
183 $x_offset = null,
184 $y_offset = null
202 if ($where !== null) {
205 if ($x_offset !== null) {
208 if ($y_offset !== null) {
222 public function mouseUp(WebDriverCoordinates $where = null)
255 protected function moveIfNeeded(WebDriverCoordinates $where = null)
264 * @param int|null $x_offset
265 * @param int|null $y_offset
270 WebDriverCoordinates $where = null,
271 $x_offset = null,
272 $y_offset = null
277 'x' => $x_offset === null ? 0 : $x_offset,
278 'y' => $y_offset === null ? 0 : $y_offset,
281 if ($where !== null) {