Giter Club home page Giter Club logo

capybara-firebug's Issues

no such file to load -- ruby-debug (LoadError)

Then stop and let me debug # capybara-firebug-0.0.7/lib/capybara/firebug.rb:43 no such file to load -- ruby-debug (LoadError)

I think specifying dependencies in .gemspec will fix this

Add RSpec howto to enable capybara-firebug

In order to use the gem, we had to add the following to our spec_helper.rb.

Perhaps this should be added to the readme documentation?

RSpec.configure do |config|
  config.before(:each, firebug: true) do
    Capybara.current_driver = :selenium_with_firebug
  end
end

Firebug 1.11

Hi,

it doesn't work with Firebug 1.11, Firebug simply doesn't show up.

what I could try?

thanks!

execution expired (Timeout::Error)

I tried it out and changed 1 scenario to @firebug from @javascript, and I suddenly saw many errors like this (even on other scenarios).

execution expired (Timeout::Error)
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/timeout.rb:64:in `rbuf_fill'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/net/protocol.rb:126:in `readline'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/net/http.rb:2028:in `read_status_line'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/net/http.rb:2017:in `read_new'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/net/http.rb:1051:in `request'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/net/http.rb:1037:in `request'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/net/http.rb:543:in `start'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/net/http.rb:1035:in `request'
./features/step_definitions/web_steps.rb:20:in `/^(?:|I )am on (.+)$/'
features/manage_pages.feature:115:in `Given I have a site "Fancake", and I am the moderator "bob"'

In acceptance testing

Is there anyway I can use firebug on selenium-webdriver with acceptance testing? I am using steak for acceptance testing.

How to enable for remote browser?

I am using selenium with a remote browser (cucumber is executed remotely, and the browser triggered is on my desktop). How can I get this to work when it is triggering a remote browser? Here's what I've got in my env.rb:

# Capybara configuration (using Selenium)
require 'capybara'
require 'capybara/dsl'
require 'capybara/cucumber'
require 'capybara/firebug'

Capybara.default_driver = :selenium
Capybara.javascript_driver = :selenium
Capybara.run_server = false
#Capybara.app_host = "https://google.com" # this is replaced in my Before hook
Capybara.register_driver :selenium do |app|
  Capybara::Driver::Selenium.new(app,
    :browser => :remote,
    :url => "http://my.ip.add.ress:4444/wd/hub",
    :desired_capabilities => :firefox)
end

World(Capybara)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.