Implement GetPageSource WebDriver command

This commit is contained in:
George Roman 2019-06-12 22:13:49 +03:00
parent fd174c54ef
commit 13d908ab15
5 changed files with 52 additions and 1 deletions

View file

@ -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)
},