Package com.microsoft.playwright.options
Class SelectOption
- java.lang.Object
-
- com.microsoft.playwright.options.SelectOption
-
public class SelectOption extends 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(String label)Matches byoption.label.SelectOptionsetValue(String value)Matches byoption.value.
-
-
-
Method Detail
-
setValue
public SelectOption setValue(String value)
Matches byoption.value. Optional.
-
setLabel
public SelectOption setLabel(String label)
Matches byoption.label. Optional.
-
setIndex
public SelectOption setIndex(int index)
Matches by the index. Optional.
-
-