Get the barest bones of webdriver integration ready for keeners.

This commit is contained in:
Josh Matthews 2015-03-27 12:39:42 -04:00
parent a277036dd9
commit 5728799479
8 changed files with 149 additions and 0 deletions

View file

@ -21,6 +21,7 @@ extern crate layout;
extern crate gfx;
extern crate libc;
extern crate url;
extern crate webdriver_server;
use compositing::CompositorEventListener;
use compositing::windowing::WindowEvent;
@ -84,6 +85,10 @@ impl Browser {
devtools::start_server(port)
});
if let Some(port) = opts.webdriver_port {
webdriver_server::start_server(port);
}
// Create a Servo instance.
let resource_task = new_resource_task(opts.user_agent.clone());