1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00
Commit graph

5 commits

Author SHA1 Message Date
Niklas Hofer
c7daae9f28 detect browser by parsing $PATH env var instead of relying on unreliable which 2012-09-15 18:22:08 +02:00
Stuart Montgomery
bb98fd5eb5 Replacing 'safari' with 'open' in Capybara::Poltergeist::Inspector, since there is no 'safari' CLI on Mac OS X 2012-09-09 10:23:48 -07:00
Jon Leighton
98c3bb564f Remove posix-spawn dependency.
posix-spawn relies on a C extension. This does work under JRuby, but it
won't work on Travis CI as they disallow JRuby C extensions, as they are
considered to not be a good practice.

Instead we are using either Process.spawn on Ruby 1.9, or the
childprocess gem on Ruby 1.8. childprocess uses native JVM APIs on
JRuby, and fork+exec on others.
2012-03-11 10:35:02 +00:00
Jon Leighton
f61ca77cd4 Use posix-spawn gem rather than sfl, as sfl requires fork, which can't work on JRuby. 2012-02-29 22:52:27 +00:00
Jon Leighton
8d9b224de1 Extract inspector code to a separate class. Implement Driver#debug and Driver#pause methods for using inspector. 2012-02-29 00:02:43 +00:00