Skip to content

Commit

Permalink
Fix spelling mistake (#345)
Browse files Browse the repository at this point in the history
Just happened to notice this! 😅
  • Loading branch information
balvig authored Apr 25, 2024
1 parent da0d332 commit 3e56445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/billy/browsers/capybara.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ def self.register_apparition_driver
end

def self.register_cuprite_driver
driver_otions = {
driver_options = {
browser_options: {
'ignore-certificate-errors' => nil
}
}.deep_merge(Billy.config.cuprite_options)

::Capybara.register_driver :cuprite_billy do |app|
::Capybara::Cuprite::Driver.new(app, **driver_otions).tap do |driver|
::Capybara::Cuprite::Driver.new(app, **driver_options).tap do |driver|
driver.set_proxy(Billy.proxy.host, Billy.proxy.port)
end
end
Expand Down

0 comments on commit 3e56445

Please sign in to comment.