mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Get the barest bones of webdriver integration ready for keeners.
This commit is contained in:
parent
a277036dd9
commit
5728799479
8 changed files with 149 additions and 0 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue