Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

Alert.php

Namespace

WebDriver

File

vendor/lullabot/php-webdriver/lib/WebDriver/Alert.php

View source
<?php


/**
 * @copyright 2017 Anthon Pang
 * @license Apache-2.0
 *
 * @package WebDriver
 *
 * @author Anthon Pang <apang@softwaredevelopment.ca>
 */
namespace WebDriver;


/**
 * WebDriver\Alert class
 *
 * @package WebDriver
 *
 * @method array accept() Accept alert.
 * @method array dismiss() Dismiss alert.
 * @method array getText() Get alert text.
 * @method array postText() Send alert text.
 */
class Alert extends AbstractWebDriver {
    
    /**
     * {@inheritdoc}
     */
    protected function methods() {
        return array(
            'accept' => array(
                'POST',
            ),
            'dismiss' => array(
                'POST',
            ),
            'text' => array(
                'GET',
                'POST',
            ),
        );
    }

}

Classes

Title Deprecated Summary
Alert WebDriver\Alert class

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal