Skip to content

Commit

Permalink
Add 'selenium-webdriver'
Browse files Browse the repository at this point in the history
  • Loading branch information
Genia Kazymova committed Nov 4, 2024
1 parent 529d509 commit 2279f00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ gemspec
# To use a debugger
# gem 'byebug', group: [:development, :test]

group :test do
gem 'selenium-webdriver'
gem 'webdrivers'
end

# BEGIN ENGINE_CART BLOCK
# engine_cart: 2.6.0
# engine_cart stanza: 2.5.0
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
require 'capybara/rspec'
require 'webmock/rspec'
require 'vcr'
require 'selenium-webdriver'

VCR.configure do |config|
config.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
Expand All @@ -29,6 +30,7 @@

RSpec.configure do |config|
Capybara.default_host = 'http://localhost'
Capybara.javascript_driver = :selenium_chrome_headless
# rspec-expectations config goes here. You can use an alternate
# assertion/expectation library such as wrong or the stdlib/minitest
# assertions if you prefer.
Expand Down

0 comments on commit 2279f00

Please sign in to comment.