Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Choose method dont triggers the 'change' event. #496
I have a 3 radio buttons.
When the third radio button, labeled with "Other (specify)", is chosen, a text field next to it should be enabled.
# I have a disabled field page.should have_css '#availability_answer_reject_reason_explanation[disabled]' # I choose the radio button that should enable that field choose 'Other (specify)' find_field('Other (specify)').trigger('change') #=> I need to manualy trigger the change event only with capybara-webkit # The field is not disabled now page.should have_no_css '#availability_answer_reject_reason_explanation[disabled]'
With selenium I have no need to manually trigger the event. Capybara-webkit doesn't seem to fire the change event.
Is this behavior intended or known?