Sha256: 2d36a35637c8011b34e250fab83c3a92bb5310b6ef1397eca864fbe4c7acfe73
Contents?: true
Size: 394 Bytes
Versions: 15
Compression:
Stored size: 394 Bytes
Contents
class JavaScriptTest::Browser def initialize(path) @path = path end end if JavaScriptTest::Browser.new('').macos? class JavaScriptTest::SafariBrowser def setup; end # no need to create new Browser, as open command automates this def visit(file) @path ||= 'Safari.app' `open #{file} -a #{@path} -g` end def setup; end # no need to destroy Browser end end
Version data entries
15 entries across 15 versions & 1 rubygems