| Index: content/renderer/dom_automation.js
|
| diff --git a/content/renderer/dom_automation.js b/content/renderer/dom_automation.js
|
| index 0af645be6a3c91ead377f2d4827c503276443ba2..4ced1f1ff0eff43b24d816a59b584c826ace4788 100644
|
| --- a/content/renderer/dom_automation.js
|
| +++ b/content/renderer/dom_automation.js
|
| @@ -393,6 +393,8 @@ var domAutomation = domAutomation || {};
|
| return getText(element);
|
| } else if (type == "innerhtml") {
|
| return trim(element.innerHTML);
|
| + } else if (type == "innertext") {
|
| + return trim(element.innerText);
|
| } else if (type == "visibility") {
|
| return isVisible(element);
|
| } else if (type == "id") {
|
|
|