Define an expected condition check

You want to define an expected condition check to determine a string valued expectation from javascript for a java client binding in selenium.

Which of these conditional methods will you likely utilize in the given scenario?

Options
1.jsReturnsValue(java.lang.String javaScript)
2.StringreturnsJS(Java.util.Javascript)

3.jsSwitchesToValue(Java.util.Javascript.String)

4.JSConvertsToValue(java.util.String)

Related Posts

Close Bitnami banner
Bitnami