Sha256: 5460a91a0c065fb7a84cef3076787ee3570635d80075c161c8af1aeb817596c1
Contents?: true
Size: 439 Bytes
Versions: 1
Compression:
Stored size: 439 Bytes
Contents
module Terminus module Client class PhantomJS < Base DEFAULT_COMMAND = ['/usr/bin/env', 'phantomjs'] PHANTOM_CLIENT = File.expand_path('../phantom.js', __FILE__) def browser_args(command) args = (command || DEFAULT_COMMAND).dup args + [PHANTOM_CLIENT, @address[2], @port.to_s] end def browser_selector {:name => 'PhantomJS'} end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
terminus-0.4.0 | lib/terminus/client/phantomjs.rb |