chrome_debugger 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/chrome_debugger/client.rb +2 -1
  2. metadata +1 -1
@@ -36,7 +36,8 @@ module ChromeDebugger
36
36
 
37
37
  def start_chrome
38
38
  @profile_dir = File.join(Dir.tmpdir, SecureRandom.hex(10))
39
- @chrome_cmd = "'#{@chrome_path}' --user-data-dir=#{@profile_dir} -remote-debugging-port=#{REMOTE_DEBUGGING_PORT} --no-first-run"
39
+ @chrome_cmd = "#{@chrome_path} --user-data-dir=#{@profile_dir} -remote-debugging-port=#{REMOTE_DEBUGGING_PORT} --no-first-run > /dev/null 2>&1"
40
+ puts @chrome_cmd
40
41
  @chrome_pid = Process.spawn(@chrome_cmd, :pgroup => true)
41
42
 
42
43
  until debug_port_listening?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chrome_debugger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: