Skip to content

Commit

Permalink
Debug more
Browse files Browse the repository at this point in the history
  • Loading branch information
dvic committed Jul 24, 2023
1 parent 542637f commit 9d4b669
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/wallaby/chrome.ex
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,11 @@ defmodule Wallaby.Chrome do

[Path.expand(chrome_path) | default_chrome_paths]
|> IO.inspect()
|> Enum.find(&System.find_executable/1)
|> Enum.find(fn input ->
result = System.find_executable(input)
IO.inspect({input, result}, label: "find_executable")
result
end)
|> case do
path when is_binary(path) ->
{:ok, path}
Expand Down

0 comments on commit 9d4b669

Please sign in to comment.