WebDriver/WebDriver/Touch.php
public function swipe($xSpeed, $ySpeed)
    {
        $this->webDriver->getDriver()->curl(
            $this->webDriver->getDriver()->factoryCommand(
                'touch/flick',
                WebDriver_Command::METHOD_POST,
                [
                    'xspeed' => (int) $xSpeed,
                    'yspeed' => (int) $ySpeed,
                ]
            )
        );
        return $this;
    }
public function swipe($xSpeed, $ySpeed)
    {
        $this->webDriver->getDriver()->curl(
            $this->webDriver->getDriver()->factoryCommand(
                'touch/flick',
                WebDriver_Command::METHOD_POST,
                [
                    'xspeed' => (int) $xSpeed,
                    'yspeed' => (int) $ySpeed,
                ]
            )
        );
        return $this;
    }
public function swipe ( $ xSpeed , $ ySpeed ) { $ this -> webDriver -> getDriver ( ) -> curl ( $ this -> webDriver -> getDriver ( ) -> factoryCommand ( 'touch/flick' , WebDriver_Command :: METHOD_POST , [ 'xspeed' => ( int ) $ xSpeed , 'yspeed' => ( int ) $ ySpeed , ] ) ) ; return $ this ; }
Performs swipe on screen.

@param int $xSpeed
@param int $ySpeed
@return $this
Performs swipe on screen .