Skip to content

Allow url_blocklist and url_allowlist in driver options - #361

Merged
route merged 2 commits into
rubycdp:mainfrom
Greg-Myers-SB:url-blocklist-options
Nov 8, 2026
Merged

route merged 2 commits into
rubycdp:mainfrom
Greg-Myers-SB:url-blocklist-options

Conversation

@Greg-Myers-SB

Copy link
Copy Markdown
Contributor

Browser already aliases url_blocklist/url_allowlist, but the options hash only accepted the legacy keys. Map the new keys to url_blacklist and url_whitelist once in Driver#initialize, so Browser#initialize and Driver#reset! read the same options and the lists survive a reset.

Fixes #330

Claude assisted.

Browser already aliases url_blocklist/url_allowlist, but the options hash
only accepted the legacy keys. Map the new keys to url_blacklist and
url_whitelist once in Driver#initialize, so Browser#initialize and
Driver#reset! read the same options and the lists survive a reset.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@route
route merged commit 045171d into rubycdp:main Nov 8, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants