similar to: Capybara + Selenium + JS

Displaying 20 results from an estimated 5000 matches similar to: "Capybara + Selenium + JS"

2010 Sep 20
2
For Your Own Info: Rails 2.3.2 is incompatible with Cucumber (0.8.5), Capybara (0.3.9) and Selenium-webdriver (0.0.17)
Railers, I am running an application on Rails 2.3.2. For some reason within our organization, we wish to remain on this version of Rails. For BDD/Testing, we use Cucumber. So I installed Cucumber (0.8.5), Capybara (0.3.9) and Selenium-webdriver (0.0.17). But when I run Cucumber on any feature, I get an error saying *" wrong number of arguments (2 for 1) (ArgumentError)"*, (Check here
2012 Jun 14
1
Cucumber/RSpec ::: Capybara? Webrat What am I using??
Hey everybody I''m currently reading through the Pragmatic Programmers RSpec book, and I really enjoy it. But I’m facing some problems because of the fact that the book is already some years old, I guess. I have installed rvm and use Ruby 1.9.3, and I didn’t really get some Rails code examples to work properly, so I tried it with a 1.8.7 installation, but there I had some other problems
2012 Jan 17
2
does jruby rspec have to use selenium?
With jruby and rspec requests, do you have to use selenium webdriver? I''m confused, with ruby and rubyonrails using cucumber with capybara, I didn''t have to set the default driver, what was it using and can i use that with jruby? Things just worked w/o me even having to know about it :) -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Oct 09
0
getting selenium working with jruby/sinatra/cucumber/webrat on windows
I am trying to run cucumber/webrat with Sinatra on Jruby 1.7.3 (1.9.3) on Windows. It seems to work ok, but when I try to add selenium to webrat. I get the error shown below. It seems like it thinks it is in a linux environment or something as the error happens when it tries to start selenium server and there is a "&" at the end of the argument chain. I took a look at capybara
2010 Nov 26
0
Cucumber + Capybara + tiny_mce Problem
Hello I want to test the the tiny_mce using cucumber and capybara and I got a solution in the following thred " http://groups.google.com/group/ruby-capybara/browse_thread/thread/711d08ddceb9276?pli=1" but somehow I am getting the following error *private method `bridge'' called for #<Selenium::WebDriver::Driver:0x..fb55cd4f0 browser=:firefox> (NoMethodError)* Is there
2007 Jun 11
0
Selenium RC Fu (plus js unit)
We''ve been threatening to open source this for a while, most recently during Alex and Brian''s talk at Railsconf [1]. See the readme [2] for more info, and the source/rdocs for all the gory details. Feedback and contributions are very welcome. Thanks, pt. [1] http://www.slideshare.net/alexchaffee/fullstack-webapp-testing-with-selenium-and-rails [2] == Introduction Welcome to
2010 Aug 17
0
Installing selenium-on-rails - error on rake test
I''m following the instructions on installing Selenium on rails: "Run the Rakefile in the plugin???s directory to run the tests in order to see that everything works" When I rake: DKMac:selenium-on-rails DK$ rake test I get the following error: /Users/DK/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:105:in `const_missing'':
2010 Dec 08
1
Help on install act_as_ferret on windows XP
Hi There! Im trying to install act_as ferret on win xp, with this environment: winXP ruby : 1.8.7 rails: 2.3.8 gem list: abstract (1.0.0) actionmailer (3.0.1, 2.3.8, 1.3.3) actionpack (3.0.1, 2.3.8, 2.3.2, 1.13.6, 1.13.3) actionwebservice (1.2.6, 1.2.3) activemodel (3.0.1) activerecord (3.0.1, 2.3.8, 2.3.2, 1.15.6, 1.15.3) activeresource (3.0.1, 2.3.8) activesupport (3.0.1, 2.3.8, 2.3.2, 1.4.4,
2012 Jun 14
3
Selenium+Autotest: how to run browser in background?
Hey guys After hours of hard work I finally managed to set up my development environment to run cucumber scenarios using autotest and selenium. What''s a bit bugging is the fact that Firefox always jumps to the foreground when Autotest does its job. How can I keep Firefox in the background so that I can continue with my work without being interrupted? Thanks! -- Posted via
2011 Apr 04
0
issue installing gem Capybara on Debian5 w ruby 1.9.2 ( Rails 3.0.5) => installing native extension
On this server I already installed it in the gemsets for Ruby 1.8.7 and Rails 2.3.11 without any problem ... but trying (many times .. ) to install in Ruby 1.9.2 (Rails 3.0.5) raises an error ... It''s not related to the gem itself as the gem doesn(t build any native extension .. but to one dependency... I don''t know where to start looking for ... here is the log message :
2012 Aug 23
5
wat is diff between webrat and capybara?????
now i am using cucumber.........and i get two topic webrat and capybara........wat is the diff between them???????which one is good?????which one i use????? Regards Fahim Babar Patel -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2011 Apr 26
1
new goodness, Capybara::RSpecMatchers in helper specs
This https://github.com/rspec/rspec-rails/commit/59793dcc349b64f4ebcf742606371001256c774d is exciting news!! ("this adds capybara matchers to view and helper specs") Now, if I just knew how to take advantage of it? Do I have to require something else in spec_helper? I have already added included gem ''rspec-rails'', ''~> 2.6.0.rc2'' gem
2012 Jan 15
2
DEPRECATION WARNING: Passing a template handler in the template name is deprecated. (rspec + haml)
I upgraded a small project that I had created on 3.1.3 to 3.2.0.rc2. Running rspec on it brings about a large amount of these messages: DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:haml] instead. (called from block (2 levels) in <top (required)> at
2012 Jul 22
1
RSpec/rails & Capybara: #within
I''m new with Capybara and after a good amount of google, I still can''t figure out how the #within methods works! I can use it only if I call visit before? There''s no way to use it on a string, like the `page = Capybara.string(html_string)` trick? When describe a view, I want something like that: describe "path/to/view.html.erb" do it "should pass"
2012 Jul 19
0
Capybara and a post request
Hi there! In my app I have an entry page that is called with an post-request from another site. This post-request contains a parameter called key and is used for an app authorisation of that other site. How can I simulate such a behaviour in respect and capybara? In the moment I have a controller and action that serves me a Form where I fill in the key and click submit via capybara. But I think
2011 Jul 05
2
Using Capybara to select from a collection_select call (select tag)
I''m trying to use Capybara to test this. I have a step that goes When I select "Price Chopper" from "Organization" And the step definition is When /^(?:|I )select "(.+)" from "(.+)"$/ do |value, field| select(value, :from => field) end For some reason, I keep getting the error: cannot select option, no select box with id,
2009 Apr 29
1
Cucumber/Webrat/Selenium + SSL?
Has anybody had any luck getting Cucumber, Webrat and Selenium to play nicely together for SSL sites? My test environment: - nginx front-end accepting SSL requests, proxying them to mongrel back-end - mongrel back-end accepting normal HTTP requests - application routes configured with ":protocol => ''https''" so that URLs generated with "_url"
2008 Mar 20
1
stories with selenium and the db
Hi all Tonight I wanted to test out selenium in a story to test some ajax stuff on a page. After struggling for an hour or two with disappearing database objects I found the solution in a blog post by Kerry Buckley. with the comment included it reads: # Don''t add an ActiveRecordSafetyListener, or it''ll roll stuff back class Spec::Story::Runner::ScenarioRunner def
2010 Jun 08
0
How to use Selenium RC in Rails
Hi, I am trying to use Selenium RC in my rails application. I first install selenium RC ruby client (>gem install selenium-client). Then create a "selenium_test.rb" in libs folder. In the file, I create a class "SeleniumTest". # libs/selenium_test.rb require "selenium-client" class SeleniumTest attr_reader :browser def initialize @browser =
2008 Oct 24
2
Mulitbrowser selenium ruby
Hope all is well, Striaght to the point I wonder if someone has any ideas to help me with the following problem: I have written an automation framework in ruby, that uses selenium and rspec and is run by an ant task, as thats the build process that is implemented here. Im currently running all my spec tests in firefox on my local machine by passing the selenium variable: @selenium =