Execute JavaScript + Capybara
There are certain cases where we need some custom JavaScript while writing some Integration test cases. For such cases you can use page.execute_script.
For Example
For Example
page.execute_script("$('#blog-hover-#{blog.id}').show();")
Comments
Post a Comment