aboutsummaryrefslogtreecommitdiffstats
path: root/components/msg/webdriver_msg.rs
diff options
context:
space:
mode:
authorJames Graham <james@hoppipolla.co.uk>2015-10-23 00:48:55 +0100
committerJames Graham <james@hoppipolla.co.uk>2015-11-20 13:23:38 +0000
commitf7258e4fccf9b7f8efc4b3a33203cacfe47d647a (patch)
tree32a54e8f5a8e4df247c36747a5af077807e86ad6 /components/msg/webdriver_msg.rs
parent0146751bb227e577f54c4c0574ae36236e2bcdce (diff)
downloadservo-f7258e4fccf9b7f8efc4b3a33203cacfe47d647a.tar.gz
servo-f7258e4fccf9b7f8efc4b3a33203cacfe47d647a.zip
Add support for getting an element's computed style through WebDriver.
Diffstat (limited to 'components/msg/webdriver_msg.rs')
-rw-r--r--components/msg/webdriver_msg.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/msg/webdriver_msg.rs b/components/msg/webdriver_msg.rs
index 6a537ac70f6..658df1e79e1 100644
--- a/components/msg/webdriver_msg.rs
+++ b/components/msg/webdriver_msg.rs
@@ -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>, ()>>),