Package com.microsoft.playwright.options
Class SelectOption
- java.lang.Object
-
- com.microsoft.playwright.options.SelectOption
-
public class SelectOption extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SelectOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectOptionsetIndex(int index)Matches by the index.SelectOptionsetLabel(java.lang.String label)Matches byoption.label.SelectOptionsetValue(java.lang.String value)Matches byoption.value.
-
-
-
Method Detail
-
setValue
public SelectOption setValue(java.lang.String value)
Matches byoption.value. Optional.
-
setLabel
public SelectOption setLabel(java.lang.String label)
Matches byoption.label. Optional.
-
setIndex
public SelectOption setIndex(int index)
Matches by the index. Optional.
-
-