Skip to content

Commit

Permalink
Try more hacks in combination with setup-firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
natebosch committed Sep 12, 2024
1 parent 6d33661 commit aa4694a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkgs/test/lib/src/runner/browser/default_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ final defaultSettings = UnmodifiableMapView({
'/Applications/Firefox.app/Contents/MacOS/firefox-bin',
'~/Applications/Firefox.app/Contents/MacOS/firefox',
'~/Applications/Firefox.app/Contents/MacOS/firefox',
'firefox',
],
windowsExecutable: r'Mozilla Firefox\firefox.exe',
environmentOverride: 'FIREFOX_EXECUTABLE'),
Expand Down
3 changes: 2 additions & 1 deletion pkgs/test/lib/src/runner/browser/firefox.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ class Firefox extends Browser {
for (final file in Directory('~').listSync()) {
print(file.path);
}

final findResult = await Process.run('find', ['firefox']);
print(findResult.stdout);
var process = await Process.start(settings.executable, [
'--profile',
dir,
Expand Down

0 comments on commit aa4694a

Please sign in to comment.