Hi, Supose that you are focused on a field you want to type employee id and press Enter called input, you could try something like this:
input = @browser.find_element(:id, "employee-id") *input.send_keys ["12345678", :enter]* # "12345678" is the employee id Regards El lunes, 22 de septiembre de 2014 09:51:06 UTC-3, Sudarshan Study escribió: > > @browser.send_keys :enter > > : works with firefox , but is not working with chrome browser. Kindly let > me know if there is any other way to perform same task. Thanks! > > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
