WebDriver/WebDriver/Object/Alert.php
public function accept()
    {
        $command = $this->driver->factoryCommand('accept_alert', WebDriver_Command::METHOD_POST);
        return $this->driver->curl($command)['value'];
    }
public function accept()
    {
        $command = $this->driver->factoryCommand('accept_alert', WebDriver_Command::METHOD_POST);
        return $this->driver->curl($command)['value'];
    }
public function accept ( ) { $ command = $ this -> driver -> factoryCommand ( 'accept_alert' , WebDriver_Command :: METHOD_POST ) ; return $ this -> driver -> curl ( $ command ) [ 'value' ] ; }
Accepts the currently displayed alert dialog.
Accepts the currently displayed alert dialog .