Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Currently used action for the pikaday library (any feedback is welcome)
- def pikaday(label, with: nil)
- el = find_field(label)[:id]
- execute_script("document.querySelector('##{el}').value = '#{with}';")
- assert_no_selector '.pika-lendar'
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement