We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Try this to pick a date with capybara
page.execute_script %Q{ $('#tenant_occupation_date').trigger("click") } # activate pikaday page.execute_script %Q{ var clickEvent = document.createEvent ('MouseEvents') } page.execute_script %Q{ clickEvent.initEvent ('mousedown', true, true); } page.execute_script %Q{ $('.pika-next')[0].dispatchEvent(clickEvent) } # move one month forward page.execute_script %Q{ $("button.pika-day:contains('15')")[0].dispatchEvent(clickEvent) } # click on day 15