viewtify.ui
UIWeb.Operation
Operation
()
awaitContentLoading
()
kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
UIWeb
, kiss.SignalUIWeb
kiss.WiseFunction |
Wait for the page to load completely.
awaitAppearingElement
(String
cssSelector
)
kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
String
cssSelector
)UIWeb
, kiss.SignalUIWeb
String cssSelector |
A css selector to find. |
kiss.WiseFunction |
Chainable API. |
Wait until the element specified by the CSS selector appears.
awaitDisappearingElement
(String
cssSelector
)
kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
String
cssSelector
)UIWeb
, kiss.SignalUIWeb
String cssSelector |
A css selector to find. |
kiss.WiseFunction |
Chainable API. |
Wait until the element specified by the CSS selector disappears.
awaitAppearingText
(String
cssSelector
, String
expectedText
)
kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
String
cssSelector
, String
expectedText
)UIWeb
, kiss.SignalUIWeb
String cssSelector |
A css selector to find. |
String expectedText |
A text to be expected. |
kiss.WiseFunction |
Chainable API. |
Wait until the element specified by the CSS selector appears.
awaitNextEvent
(String
cssSelector
, String
eventType
)
kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
String
cssSelector
, String
eventType
)UIWeb
, kiss.SignalUIWeb
String cssSelector |
A css selector to find. |
String eventType |
An event type. |
kiss.WiseFunction |
Chainable API. |
Wait until the specified event occurs on the element specified by the CSS selector.
click
(String
cssSelector
)
kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
String
cssSelector
)UIWeb
, kiss.SignalUIWeb
String cssSelector |
A css selector to click. |
kiss.WiseFunction |
Chainable API. |
Click on the first element specified in the CSS selector.
detour
(String
uri
, kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
detour
)
kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
String
uri
, kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
detour
)UIWeb
, kiss.SignalUIWeb
String uri |
The target page's URI. |
kiss.WiseFunction detour |
Additional Processing. |
kiss.WiseFunction |
Chainable API. |
If the current URI matches the specified one, additional processing will be performed.
detour
(PredicateUIWeb
condition
, kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
detour
)
kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
PredicateUIWeb
condition
, kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
detour
)UIWeb
, kiss.SignalUIWeb
Predicate condition |
Conditions for processing. |
kiss.WiseFunction detour |
Additional Processing. |
kiss.WiseFunction |
Chainable API. |
If the specified conditions are met, additional processing will be performed.
input
(String
cssSelector
, String
inputText
)
kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
String
cssSelector
, String
inputText
)UIWeb
, kiss.SignalUIWeb
String cssSelector |
A css selector to select input form. |
String inputText |
A text to input. |
kiss.WiseFunction |
Chainable API. |
Enter text on the first element specified by the CSS selector.
inputByHuman
(String
cssSelector
)
kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
String
cssSelector
)UIWeb
, kiss.SignalUIWeb
String cssSelector |
A css selector to select input form. |
kiss.WiseFunction |
Chainable API. |
Enter text on the first element specified by the CSS selector. Prompts you to enter text on the page.
inputByHuman
(String
cssSelector
, String
description
)
kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
String
cssSelector
, String
description
)UIWeb
, kiss.SignalUIWeb
String cssSelector |
A css selector to select input form. |
String description |
Description of the input. |
kiss.WiseFunction |
Chainable API. |
Enter text on the first element specified by the CSS selector. The input dialog will appear.
inputByHuman
(String
cssSelector
, kiss.VariableString
description
)
kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
String
cssSelector
, kiss.VariableString
description
)UIWeb
, kiss.SignalUIWeb
String cssSelector |
A css selector to select input form. |
kiss.Variable description |
Description of the input. |
kiss.WiseFunction |
Chainable API. |
Enter text on the first element specified by the CSS selector. The input dialog will appear.
text
(String
cssSelector
)
kiss.WiseFunctionUIWeb
, kiss.SignalString
String
cssSelector
)UIWeb
, kiss.SignalString
String cssSelector |
CSS selector to find. |
kiss.WiseFunction |
Chainable API. |
Returns the text of the first element specified by the CSS selector.
text
(String
cssSelector
, ConsumerString
text
)
kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
String
cssSelector
, ConsumerString
text
)UIWeb
, kiss.SignalUIWeb
String cssSelector |
CSS selector to find. |
Consumer text |
A found text consumer. |
kiss.WiseFunction |
Chainable API. |
Returns the text of the first element specified by the CSS selector.
script
(String
script
)
kiss.WiseFunctionUIWeb
, kiss.SignalObject
String
script
)UIWeb
, kiss.SignalObject
String script |
A script to execute. |
kiss.WiseFunction |
Chainable API. |
Returns the execution result of the specified script.
script
(String
script
, Consumer
result
)
kiss.WiseFunctionUIWeb
, kiss.SignalUIWeb
String
script
, Consumer
result
)UIWeb
, kiss.SignalUIWeb
String script |
A script to execute. |
Consumer result |
A execution result. |
kiss.WiseFunction |
Chainable API. |
Returns the execution result of the specified script.