Ruby client library for the Google Chrome Remote Debugging Protocol.
- ruby >= 1.8.7
- *nix system (linux, mac os x, etc..), windows don't know.
$> gem install chrome_remote_debug# Initalize the client. Does not really connect.chrome=ChromeRemoteDebug::Client.new("127.0.0.1",9222)# Fetch a list of pages returned as Page objects.chrome.pages# Get the first page in chromepage=chrome.pages.first# Title of the pagepage.title# Url of the pagepage.url# Favicon url of the pagepage.favicon# Refresh the pagepage.reload# Go to this urlpage.navigate("http://www.google.com")- Get page list
- Page.reload
- Page.navigate
- All the rest of protocol v1.0
- Federico Galassi federico.galassi@cleancode.it
- MIT License
- Copyright (c) 2012 Federico Galassi
