refactor: Inconsistent default browser types (Chromium vs Firefox) #15
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #3
Description
NewBrowser()inplaywright.go:91-97defaults to Firefox:But
NewInteractiveBrowser()ininteractive.go:59-69defaults to Chromium:This inconsistency is confusing and could cause different behavior between scraping and interactive modes.
Discussion
The Chromium choice for interactive makes sense (better DevTools compatibility), but it should be documented. Consider adding a comment explaining the rationale, or unify to a single default.
Starting work on this as part of PR 7 (also includes #16). Will align
NewInteractiveBrowserdefault from Chromium to Firefox to matchNewBrowser.Work finished. PR: #38 (merged)
Aligned
NewInteractiveBrowserdefault from Chromium to Firefox.