mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Implement webdriver commands for back/forward/title/handles.
This commit is contained in:
parent
b762758366
commit
1576107c45
5 changed files with 47 additions and 5 deletions
|
@ -791,7 +791,9 @@ impl ScriptTask {
|
|||
let page = self.root_page();
|
||||
match msg {
|
||||
WebDriverScriptCommand::EvaluateJS(script, reply) =>
|
||||
webdriver_handlers::handle_evaluate_js(&page, pipeline_id, script, reply)
|
||||
webdriver_handlers::handle_evaluate_js(&page, pipeline_id, script, reply),
|
||||
WebDriverScriptCommand::GetTitle(reply) =>
|
||||
webdriver_handlers::handle_get_title(&page, pipeline_id, reply)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue