Skip to content

Commit

Permalink
fix: use separate env var for remote debugging on firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
wout committed Feb 24, 2024
1 parent f17d7c6 commit 8da20e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lucky_flow/selenium/firefox/driver.cr
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ end

LuckyFlow::Registry.register :headless_firefox do
LuckyFlow::Selenium::Firefox::Driver.new do |config|
remote_debuggin_port = ENV["CHROME_REMOTE_DEBUGGING_PORT"]? || 9222
remote_debuggin_port = ENV["FIREFOX_REMOTE_DEBUGGING_PORT"]? || 9222
config.firefox_options.args = [
"--headless",
"--disable-gpu",
Expand Down

0 comments on commit 8da20e1

Please sign in to comment.