aboutsummaryrefslogtreecommitdiffstats
path: root/components/msg/webdriver_msg.rs
diff options
context:
space:
mode:
authorJames Graham <james@hoppipolla.co.uk>2015-11-17 13:43:36 +0000
committerJames Graham <james@hoppipolla.co.uk>2015-11-18 11:52:05 +0000
commit6446cc3db8ae42c6a24498ddd2293d271c204753 (patch)
tree1009ad1d65421a9cfa9a016775fc86bc1c1ef63e /components/msg/webdriver_msg.rs
parentcedaac8dbe44e23b7bb7335c470e9e48ee1e6139 (diff)
downloadservo-6446cc3db8ae42c6a24498ddd2293d271c204753.tar.gz
servo-6446cc3db8ae42c6a24498ddd2293d271c204753.zip
Implement Get Element Attribute WebDriver command
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 a0e6f83a57f..6a537ac70f6 100644
--- a/components/msg/webdriver_msg.rs
+++ b/components/msg/webdriver_msg.rs
@@ -15,6 +15,7 @@ pub enum WebDriverScriptCommand {
FindElementsCSS(String, IpcSender<Result<Vec<String>, ()>>),
FocusElement(String, IpcSender<Result<(), ()>>),
GetActiveElement(IpcSender<Option<String>>),
+ GetElementAttribute(String, String, IpcSender<Result<Option<String>, ()>>),
GetElementTagName(String, IpcSender<Result<String, ()>>),
GetElementText(String, IpcSender<Result<String, ()>>),
GetFrameId(WebDriverFrameId, IpcSender<Result<Option<PipelineId>, ()>>),