[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: WebDriverSelectInterface.php
<?php namespace Facebook\WebDriver; use Facebook\WebDriver\Exception\NoSuchElementException; use Facebook\WebDriver\Exception\UnsupportedOperationException; /** * Models an element of select type, providing helper methods to select and deselect options. */ interface WebDriverSelectInterface { /** * @return bool Whether this select element support selecting multiple options. */ public function isMultiple(); /** * @return WebDriverElement[] All options belonging to this select tag. */ public function getOptions(); /** * @return WebDriverElement[] All selected options belonging to this select tag. */ public function getAllSelectedOptions(); /** * @throws NoSuchElementException * * @return WebDriverElement The first selected option in this select tag (or the currently selected option in a * normal select) */ public function getFirstSelectedOption(); /** * Select the option at the given index. * * @param int $index The index of the option. (0-based) * * @throws NoSuchElementException */ public function selectByIndex($index); /** * Select all options that have value attribute matching the argument. That is, when given "foo" this would * select an option like: * * `<option value="foo">Bar</option>` * * @param string $value The value to match against. * * @throws NoSuchElementException */ public function selectByValue($value); /** * Select all options that display text matching the argument. That is, when given "Bar" this would * select an option like: * * `<option value="foo">Bar</option>` * * @param string $text The visible text to match against. * * @throws NoSuchElementException */ public function selectByVisibleText($text); /** * Select all options that display text partially matching the argument. That is, when given "Bar" this would * select an option like: * * `<option value="bar">Foo Bar Baz</option>` * * @param string $text The visible text to match against. * * @throws NoSuchElementException */ public function selectByVisiblePartialText($text); /** * Deselect all options in multiple select tag. * * @throws UnsupportedOperationException If the SELECT does not support multiple selections */ public function deselectAll(); /** * Deselect the option at the given index. * * @param int $index The index of the option. (0-based) * @throws UnsupportedOperationException If the SELECT does not support multiple selections */ public function deselectByIndex($index); /** * Deselect all options that have value attribute matching the argument. That is, when given "foo" this would * deselect an option like: * * `<option value="foo">Bar</option>` * * @param string $value The value to match against. * @throws UnsupportedOperationException If the SELECT does not support multiple selections */ public function deselectByValue($value); /** * Deselect all options that display text matching the argument. That is, when given "Bar" this would * deselect an option like: * * `<option value="foo">Bar</option>` * * @param string $text The visible text to match against. * @throws UnsupportedOperationException If the SELECT does not support multiple selections */ public function deselectByVisibleText($text); /** * Deselect all options that display text matching the argument. That is, when given "Bar" this would * deselect an option like: * * `<option value="foo">Foo Bar Baz</option>` * * @param string $text The visible text to match against. * @throws UnsupportedOperationException If the SELECT does not support multiple selections */ public function deselectByVisiblePartialText($text); }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.9 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002