Implemented webdriver SetWindowSize.

This commit is contained in:
Alan Jeffrey 2016-05-13 15:18:39 -05:00
parent a4e215974c
commit 5acf0f9a05
5 changed files with 35 additions and 2 deletions

View file

@ -1018,6 +1018,8 @@ impl ScriptThread {
webdriver_handlers::handle_get_url(&context, pipeline_id, reply),
WebDriverScriptCommand::GetWindowSize(reply) =>
webdriver_handlers::handle_get_window_size(&context, pipeline_id, reply),
WebDriverScriptCommand::SetWindowSize(size, reply) =>
webdriver_handlers::handle_set_window_size(&context, pipeline_id, size, reply),
WebDriverScriptCommand::IsEnabled(element_id, reply) =>
webdriver_handlers::handle_is_enabled(&context, pipeline_id, element_id, reply),
WebDriverScriptCommand::IsSelected(element_id, reply) =>