Index: content/test/data/page_with_input_field.html |
diff --git a/content/test/data/page_with_input_field.html b/content/test/data/page_with_input_field.html |
index 494456a15609344cf5d3da74af23c0c5e764a16d..87426ac2e79c87fb892dd847edf3ed3b04006163 100644 |
--- a/content/test/data/page_with_input_field.html |
+++ b/content/test/data/page_with_input_field.html |
@@ -8,6 +8,11 @@ function focusInputField() { |
inputField.focus(); |
} |
+function getInputFieldText() { |
+ var inputField = document.getElementById("text-field"); |
+ return inputField.value; |
+} |
+ |
function onInputFocus() { |
domAutomationController.setAutomationId(0); |
domAutomationController.send("input-focus"); |