You are here

public function CoreDriver::selectOption in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/behat/mink/src/Driver/CoreDriver.php \Behat\Mink\Driver\CoreDriver::selectOption()

Selects option from select field or value in radio group located by it's XPath query.

Parameters

string $xpath:

string $value:

Boolean $multiple:

Throws

UnsupportedDriverActionException When operation not supported by the driver

DriverException When the operation cannot be done

Overrides DriverInterface::selectOption

See also

\Behat\Mink\Element\NodeElement::selectOption

1 method overrides CoreDriver::selectOption()
BrowserKitDriver::selectOption in vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php
Selects option from select field or value in radio group located by it's XPath query.

File

vendor/behat/mink/src/Driver/CoreDriver.php, line 207

Class

CoreDriver
Core driver. All other drivers should extend this class for future compatibility.

Namespace

Behat\Mink\Driver

Code

public function selectOption($xpath, $value, $multiple = false) {
  throw new UnsupportedDriverActionException('Selecting an option is not supported by %s', $this);
}