Package com.codeborne.selenide
Class SetValueOptions
java.lang.Object
com.codeborne.selenide.SetValueOptions
-
Constructor Summary
ModifierConstructorDescriptionprotected
SetValueOptions
(SetValueMethod method, CharSequence value, CharSequence displayedText) -
Method Summary
Modifier and TypeMethodDescriptionmethod()
toString()
usingMethod
(SetValueMethod method) How exactly the value should be set (either "sendKeys" or JavaScript call)value()
static SetValueOptions
Text value to set into input field oftype="date"
static SetValueOptions
withDateTime
(LocalDateTime dateTime) Text value to set into input field oftype="datetime-local"
withDisplayedText
(CharSequence displayedText) How this value will be displayed in reports.static SetValueOptions
withText
(CharSequence text) Text value to set into input fieldstatic SetValueOptions
Text value to set into input field oftype="time"
-
Constructor Details
-
SetValueOptions
-
-
Method Details
-
withText
Text value to set into input field -
withDate
Text value to set into input field oftype="date"
-
withDateTime
Text value to set into input field oftype="datetime-local"
-
withTime
Text value to set into input field oftype="time"
-
withDisplayedText
How this value will be displayed in reports. Useful to mask sensitive values like passwords etc. -
usingMethod
How exactly the value should be set (either "sendKeys" or JavaScript call) -
value
-
method
-
sensitive
-
toString
-