lefthandedgoat / canopy

f# web automation and testing library, built on top of Selenium (friendly to c# also)
http://lefthandedgoat.github.io/canopy/
MIT License
506 stars 115 forks source link

Set correct path for Firefox on linux #455

Closed milosdanilov closed 5 years ago

milosdanilov commented 5 years ago

When running canopy on linux (Ubuntu 18.04) i get the following error message:

1541168288570 mozrunner::runner INFO Running command: "/usr/lib/firefox-2.0" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile.5HkpmFMeb2U6"

Unhandled Exception: System.InvalidOperationException: Failed to start browser /usr/lib/firefox-2.0: no such file or directory (SessionNotCreated)

milosdanilov commented 5 years ago

/usr/lib/firefox is directory :man_facepalming: I created a pull request #456 that corrects my mistake

Path to the executable should be /usr/lib/firefox/firefox