From 13d908ab15c7f6bba59911a54d3f5f7610f4ef46 Mon Sep 17 00:00:00 2001 From: George Roman Date: Wed, 12 Jun 2019 22:13:49 +0300 Subject: Implement GetPageSource WebDriver command --- components/script/script_thread.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/script/script_thread.rs') diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 90012015b1c..8fead633996 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -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) }, -- cgit v1.2.3