mirror of
https://github.com/servo/servo.git
synced 2025-06-10 09:33:13 +00:00
Implement GetPageSource WebDriver command
This commit is contained in:
parent
fd174c54ef
commit
13d908ab15
5 changed files with 52 additions and 1 deletions
|
@ -1902,6 +1902,9 @@ impl ScriptThread {
|
|||
WebDriverScriptCommand::GetActiveElement(reply) => {
|
||||
webdriver_handlers::handle_get_active_element(&*documents, pipeline_id, reply)
|
||||
},
|
||||
WebDriverScriptCommand::GetPageSource(reply) => {
|
||||
webdriver_handlers::handle_get_page_source(&*documents, pipeline_id, reply)
|
||||
},
|
||||
WebDriverScriptCommand::GetCookies(reply) => {
|
||||
webdriver_handlers::handle_get_cookies(&*documents, pipeline_id, reply)
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue