Add support for getting an element's computed style through WebDriver.

This commit is contained in:
James Graham 2015-10-23 00:48:55 +01:00
parent 0146751bb2
commit f7258e4fcc
4 changed files with 36 additions and 0 deletions

View file

@ -16,6 +16,7 @@ pub enum WebDriverScriptCommand {
FocusElement(String, IpcSender<Result<(), ()>>),
GetActiveElement(IpcSender<Option<String>>),
GetElementAttribute(String, String, IpcSender<Result<Option<String>, ()>>),
GetElementCSS(String, String, IpcSender<Result<String, ()>>),
GetElementTagName(String, IpcSender<Result<String, ()>>),
GetElementText(String, IpcSender<Result<String, ()>>),
GetFrameId(WebDriverFrameId, IpcSender<Result<Option<PipelineId>, ()>>),