Skip to content

Instantly share code, notes, and snippets.

@jarib
Created December 14, 2012 17:30
Show Gist options
  • Save jarib/4287161 to your computer and use it in GitHub Desktop.
Save jarib/4287161 to your computer and use it in GitHub Desktop.
Index: javascript/firefox-driver/js/wrappedElement.js
===================================================================
--- javascript/firefox-driver/js/wrappedElement.js (revision 18343)
+++ javascript/firefox-driver/js/wrappedElement.js (working copy)
@@ -388,7 +388,7 @@
respond.session.getDocument());
if (!bot.dom.isShown(element,/*ignoreOpacity=*/true)) {
- respond.value = undefined;
+ respond.value = Util.getElementLocation(element);
respond.send();
return;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment