mardi 26 décembre 2017

how to select drop-down options in cucumber rails

how to select drop-down options in cucumber rails browser.select(:xpath, '//[@id="login_form"]/div[2]/div[1]/div[4]/div/select').click browser.select(:xpath, '//[@id="login_form"]/div[2]/div[1]/div[4]/div/select/option[11]').click

Aucun commentaire:

Enregistrer un commentaire