You are here

public function BrowserPageElementTrait::selectOption in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserPageElementTrait.php \Zumba\GastonJS\Browser\BrowserPageElementTrait::selectOption()

Sends the command to select and option given a value

Parameters

$pageId:

$elementId:

$value:

bool $multiple:

Return value

mixed

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserPageElementTrait.php, line 189

Class

BrowserPageElementTrait
Trait BrowserPageElementTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function selectOption($pageId, $elementId, $value, $multiple = false) {
  return $this
    ->command("select_option", $pageId, $elementId, $value, $multiple);
}