grails - Geb - no input for numbers 2 and 4 -


i wanted test webapp geb , grails , come across strange error. when tried enter numbers 2 or 4 input, these numbers ignored , no number entered. other numbers work fine. error occured when used chrome driver, when switched firefox, works ok. have same problem or know solution? much!

e.g.

def "test numbers"(){     $("input#someid\\.search") = "0123456789" } 

then in input (text field), have 01356789.

regards, lojza

try this:

$("yourselector") << "0123456789" 

Comments

Popular posts from this blog

javascript - CasperJS/PhantomJS failing SSL handshakes on some sites even with --ssl-protocol=any -

codeigniter - Fatal error: Call to undefined function lang() in CI Merchant using CardSave -

python - Received unregistered task using Celery with Django -