Questions tagged [capybara-webkit]

A Capybara driver for headless WebKit so you can test Javascript web apps.

https://github.com/thoughtbot/capybara-webkit

470 questions
-1
votes
3 answers

Variable name with another variable value on it to achieve less repetitions

I'm working on the refactor of my RSpec+ capybara-webkit tests, and I I'm trying to not have lot of repetitions. So I created this method that I will call various times during the tests: def fill(field1, value1, field2, value2, field3, value3,…
fabdurso
  • 2,366
  • 5
  • 29
  • 55
-1
votes
1 answer

Am not able to install capybara-webkit in ubuntu 14.04

how can i install capybara-webkit here am using rails/ruby versios are 3.2.12/1.9.3 Installing capybara-webkit 0.13.0 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native…
-1
votes
1 answer

calling .uniq on capybara xpath selectors and logically bypassing Capybara::ElementNotFound

I am working on a javascript capable screen-scraper using capybara/dsl, selienium webdriver, and the spreadsheet gem. Very close to the desired output however two major problems arise: I have not been able to figure out the exact xpath selector to…
jcuwaz
  • 187
  • 3
  • 14
-2
votes
1 answer

how can I run tests using different capybara drivers on different platforms in rails?

I have a project that we've been developing thus far entirely on PCs and then deploying on linux. We've developed our tests using capybara and capybara-webkit for javascript. Turns out, as we try to run things on the mac with mountain lion, that…
mmr
  • 14,781
  • 29
  • 95
  • 145
-2
votes
1 answer

Avoid capybaras webkit console.log output

I am using rspec with the capybara-webkit driver for javascript tests. While having javascripts console.log output is a great feature, for automatic and parallel tests I dont want console.log messing the output. I tried creating the driver with…
1 2 3
31
32