/**
  * @param WebDriverTouchScreen $touch_screen
  * @param WebDriverElement $element
  * @param int $x
  * @param int $y
  * @param int $speed
  */
 public function __construct(WebDriverTouchScreen $touch_screen, WebDriverElement $element, $x, $y, $speed)
 {
     $this->x = $x;
     $this->y = $y;
     $this->speed = $speed;
     parent::__construct($touch_screen, $element);
 }
Example #2
0
 /**
  * @param WebDriverTouchScreen $touch_screen
  * @param int $x
  * @param int $y
  */
 public function __construct(WebDriverTouchScreen $touch_screen, $x, $y)
 {
     $this->x = $x;
     $this->y = $y;
     parent::__construct($touch_screen);
 }