Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Capybara is a web-based test automation software that simulates scenarios for user stories and automates web application testing for behavior-driven software development. It is a part of the Cucumber testing framework written in the Ruby programming language that simulates various aspects of a web browser from the perspective of a real user.
0
votes
2
answers
991
views
Easy way to switch to headless automated testing after normal browser test?
Im somewhat familiar with using Capybara/Cucumber (Although Cucumber will be useless for this since I won't need to display any acceptance tests or anything human readable). … Capybara seems ideal for this, although im a bit confused.....if Im not using Cucumber with Capybara, what DO I use language wise? Rspec?
Edit: Also any suggestions on the initial driver to use? …
2
votes
1
answer
30
views
Where should 'requires' be kept with regards to rails Automated testing?
I've seen both usages: As in say im testing a web app using Capybara/Rspec? … I seen it edited in the spec_helper.rb file:
'require capybara/rspec'
require 'capybara/poltergeist'
Capybara.javascript_driver = :poltergeist
for example. …
0
votes
1
answer
254
views
Selenium integration testing on Node?
Im used to using Capybara, so I don't know the bindings for node. Im assuming i'd use the JS one's...however it's a lot more confusing than Capybara as im a bit lost in reading the API. … When using Capybara (for rails) I used the Poltergeist (Which uses PhantomJS) driver.....so in that case Capybara was just serving as a DSL for the PhantomJS driver right? …
1
vote
2
answers
1k
views
Preferred methods of finding elements using Capybara + Poltergeist
(I seem to always have to end up using Xpath w/Capybara+Poltergeist. But it feels brittle).
I'm just trying to figure out best practices for these things, is there a good guide for this? …
3
votes
1
answer
682
views
Non-headless Automation Testing on CI Server?
I have a Rails project which i've written Automated tests for in Capybara using ChromeDriver/Selenium. It works great, but is quite long. …
-1
votes
2
answers
68
views
Using existing framework for new PoM framework bad practice? [duplicate]
However I am used to using Capybara to write test scripts. So I have also chosen to write the framework in Capybara as well.
I was curious if this is considered "Bad practice"?. … Capybara is extremely popular (So much so that it was integrated into Rails not so long ago) so I don't see it going anywhere. …
5
votes
1
answer
252
views
PoM Design/Architecture questions
Im writing my first PoM framework, it's using Ruby and Capybara (With Selenium for the webdriver). … Capybara seems to work slightly different and we don't create drivers the same way but can do the same thing with sessions. …
3
votes
2
answers
3k
views
Deleting created data from Automated Tests?
I would use database cleaner, but I cannot find a good tutorial on using it with capybara/poltergeist. … Plus im not sure it works on remote sites (Since im not spinning up a capybara server, im hitting a remote site even if it's just localhost). …
1
vote
2
answers
1k
views
Page Object Model with Ruby and Selenium(Capybara)?
So I've written a good amount of scripts using Capybara with Selenium Web-driver. …
6
votes
2
answers
296
views
Writing Automated tests that don't need Cucumber?
So i've been using Cucumber w/Capybara and Poltergeist to write automated tests for awhile now. It works pretty well and I enjoy it and it mostly makes sense (still learning it of course). … Just Selenium or Capybara rspec? Im really unsure of where I would go from here? …