Skip to content

Commit

Permalink
chore: add aliases for url_blocklist/url_allowlist
Browse files Browse the repository at this point in the history
  • Loading branch information
route committed Nov 20, 2022
1 parent 3c153b3 commit 575ef9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/capybara/cuprite/browser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class Browser < Ferrum::Browser
dismiss_prompt reset_modals] => :page

attr_reader :url_blacklist, :url_whitelist
alias url_blocklist url_blacklist
alias url_allowlist url_whitelist

def initialize(options = nil)
options ||= {}
Expand Down

0 comments on commit 575ef9c

Please sign in to comment.