bernat / best_in_place

A RESTful unobtrusive jQuery Inplace-Editor and a helper as a Rails Gem
http://blog.bernatfarrero.com/in-place-editing-with-javascript-jquery-and-rails-3/
1.2k stars 571 forks source link

Capybara::NotSupportedByDriverError #499

Open drdevnull opened 9 years ago

drdevnull commented 9 years ago

caused by line: bip_area user, :mailing_address, "Mars Royal Palace"

bip_text is working on regular input fields, but have no way to test textareas...

sadiksha commented 8 years ago

I am having the same problem. Did anyone get solution to this?

I am getting an error: Capybara::NotSupportedByDriverError: Capybara::Driver::Node#trigger

oystersauce8 commented 8 years ago

pardon me if this was obvious, are you guys using a javascript-capable capybara driver? i use phantomjs for this kind of thing.

natesire commented 7 years ago

I am running into the same error

Capybara::NotSupportedByDriverError

when running this line of code

page.find("##{field_id}").trigger(:focus)

jmuheim commented 3 years ago

Just for the records: I had to change

find('.some-element').trigger('click')

to

find('.some-element').click
stevenpcc commented 3 years ago

This issue is fixed in a commit but was never released as a gem

For rails 5 use this commit instead of the released gem

gem 'best_in_place', git: "https://github.com/bernat/best_in_place.git", ref: "ca759aa"