mirror of
https://github.com/teampoltergeist/poltergeist.git
synced 2022-11-09 12:05:00 -05:00
Replacing 'safari' with 'open' in Capybara::Poltergeist::Inspector, since there is no 'safari' CLI on Mac OS X
This commit is contained in:
parent
2af0ab911a
commit
bb98fd5eb5
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
module Capybara::Poltergeist
|
||||
class Inspector
|
||||
BROWSERS = %w(chromium chromium-browser google-chrome safari)
|
||||
BROWSERS = %w(chromium chromium-browser google-chrome open)
|
||||
|
||||
def self.detect_browser
|
||||
@browser ||= BROWSERS.find { |name| system("which #{name} &>/dev/null") }
|
||||
|
|
Loading…
Add table
Reference in a new issue