Questions tagged [webdrivers-gem]
9 questions
6
votes
2 answers
Get ReadTimeout using webdrivers selenium on Heroku
I get the following error when using selenium webdrivers on heroku. (rspec->capybara->selenium)
Net::ReadTimeout: Net::ReadTimeout with #
I have the heroku-buildpack-google-chrome buildpack, with webdrivers-gem.
And have the…

Ian Vaughan
- 20,211
- 13
- 59
- 79
1
vote
1 answer
RSpec Rails testing - WARN Selenium [DEPRECATION] and TypeError: no implicit conversion of nil into String
Getting started with rails testing and following this tutorial.
When I run the first test with rspec spec/hello_world.rb
I get the following errors:
WARN Selenium [DEPRECATION] [:capabilities] The :capabilities parameter for…

RaspberryRat
- 11
- 1
0
votes
0 answers
Set up Selenium with a docker rails app on wsl2
After following a couple of tutorials I can't figure out how to configure Selenium with:
a rails app on debian wsl2
the gem "Webdrivers"
docker
With my local application, Selenium worked properly with
require "webdrivers"
Since I have dockerized…

A2p0
- 1
- 3
0
votes
0 answers
Setting the headless option for my selenium driver
I'm setting up tests using rspec and capybara within wsl2. I have had to use a remote selenium server because wsl2 can't open browser windows. I would like to set the headless option on my configuration but I am unable to find documentation that…

user12685852
- 7
- 1
0
votes
1 answer
How to test react-rails components in rspec feature tests using Cuprite & Webdrivers
I am updating an older app's Ruby and Rails versions and attempting to get all of the feature tests passing. Most of them were failing due to still relying on capybara-webit. I have replaced that with webdrivers and cuprite and that fixed about half…

Ando
- 165
- 1
- 14
0
votes
1 answer
read-only file system error with capybara and webdrivers gem
With rails 5.1.7 I am getting:
Errno::EROFS:
Read-only file system @ dir_s_mkdir - /webdrivers
when trying to execute system test with capybara and the webdrivers gem

Gotey
- 449
- 4
- 15
- 41
0
votes
3 answers
How to load a Ruby gem into a module
I am trying to write a web scraper using Watir that can be run on a schedule.
My module is called PriceScraperModule but it is not loading. I get this error:
NameError (uninitialized constant PriceScraperModule::Watir)
My module looks like:
module…

Noel Delgado
- 173
- 1
- 2
- 7
0
votes
1 answer
Ruby: Chrome browser is not launching
Recently I have installed gem 'webdrivers', '~> 4.0' and trying to launch a chrome browser. But it's not working.
Code:
@app = Driver.new(Capybara::Session.new(:selenium_chrome))
Webdrivers::Chromedriver.current_version
Error log:
An error occurred…

madhank
- 3
- 1
0
votes
1 answer
Can i get an aws lambda to run an rspec test?
I got it working locally.
In aws i am getting an error.
Locally I use
run_lambda_function.rb
require_relative 'lambda_function'
lambda_handler(event: {}, context: Object.new)
Which calls
lambda_function.rb
require 'aws-sdk-lambda'
require…

Michael Durrant
- 93,410
- 97
- 333
- 497