1

When i use setValue command and pass string value "Oct (10)" it is setting only "Oct 10)" does anyone know why?

I tired escaping '(' but no luck.

any know issues with setValue command in webdriver

i am using it cucumber-js

code, this is how i am using setValue, all values are entered into the input fields except month where it enters value as "Oct 10)" instead of "Oct (10)"

{code}

this.browser
    .setValue(//input[class='selectDate'],"10")
    .setValue(//input[class='selectMonth'],"Oct (10)")
    .setValue(//input[class='selectYear'],"1990")

{code}

4

0 回答 0