diff options
author | David Raifaizen <d-raif@hotmail.com> | 2015-11-29 15:48:23 -0500 |
---|---|---|
committer | David Raifaizen <d-raif@hotmail.com> | 2015-11-29 15:48:23 -0500 |
commit | 8d451076e1762f1cd793049d39caea6bb07b9a2f (patch) | |
tree | fc380c9ae04846ead3cf5273c30cb16185a36bd0 /components/script/script_task.rs | |
parent | 6ab205a97e0b19adbb28c9fd18e34faf81dde589 (diff) | |
download | servo-8d451076e1762f1cd793049d39caea6bb07b9a2f.tar.gz servo-8d451076e1762f1cd793049d39caea6bb07b9a2f.zip |
Removed duplicate webdriver_traits file and added webdriver handler for GetWindowSize, IsSelected and IsEnabled
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r-- | components/script/script_task.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs index 95e1c7f356f..4265492fe3c 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -1116,6 +1116,12 @@ impl ScriptTask { webdriver_handlers::handle_get_frame_id(&page, pipeline_id, frame_id, reply), WebDriverScriptCommand::GetUrl(reply) => webdriver_handlers::handle_get_url(&page, pipeline_id, reply), + WebDriverScriptCommand::GetWindowSize(reply) => + webdriver_handlers::handle_get_window_size(&page, pipeline_id, reply), + WebDriverScriptCommand::IsEnabled(element_id, reply) => + webdriver_handlers::handle_is_enabled(&page, pipeline_id, element_id, reply), + WebDriverScriptCommand::IsSelected(element_id, reply) => + webdriver_handlers::handle_is_selected(&page, pipeline_id, element_id, reply), WebDriverScriptCommand::GetTitle(reply) => webdriver_handlers::handle_get_title(&page, pipeline_id, reply), WebDriverScriptCommand::ExecuteAsyncScript(script, reply) => |