| SelectElement クラス |
名前空間: Selenium
Dim instance As SelectElement
SelectElement には次のメンバーが定義されています。
| 名前 | 説明 | |
|---|---|---|
| DeselectAll |
Clear all selected entries. This is only valid when the SELECT supports multiple selections.
| |
| DeselectByIndex |
要素の index 属性で決まるインデックスによってオプションの選択を解除します。
| |
| DeselectByText |
Deselect the option by the text displayed.
| |
| DeselectByValue |
Deselect the option having value matching the specified text.
| |
| SelectByIndex |
要素の index 属性で決まるインデックスによってオプションを選択します。
| |
| SelectByText |
Select all options by the text displayed.
| |
| SelectByValue |
Select an option by the value.
|
| 名前 | 説明 | |
|---|---|---|
| AllSelectedOptions |
Gets all of the selected options within the select element.
| |
| IsMultiple |
Gets a value indicating whether the parent element supports multiple selections.
| |
| Options |
Gets the list of options for the select element.
| |
| SelectedOption |
Gets the selected item within the select element.
|
driver.FindElementById("select").AsSelect.SelectByText "Option Two"