cdp-rs
Allows interacting with a browser using Chrome Dev Protocol. To use this you must launch an instance of Chrome with remote-debugging-port
chrome.exe --remote-debugging-port=9222
Examples
use CdpClient;
// Connect to the first tab of your open Chrome instance
let mut cdp = new.connect_to_tab
// Send a message so we can recieve DOM events
cdp.send;
while Ok = cdp.wait_message
use CdpClient;
// Connect to first tab to a chrome instance running on a non-default remote-debugging-port
let mut cdp = custom.connect_to_tab;
// Send message with parameters and recieve the response
let cookies = cdp.send_parms?;
// Check cookies