From 03d107f30da4c329d7bb85e9e38d9584b73ee8cf Mon Sep 17 00:00:00 2001 From: John Foerch Date: Sun, 27 Apr 2008 00:09:09 -0400 Subject: [PATCH] remove some class assumptions from links browser-object xpath --- modules/element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/element.js b/modules/element.js index 4f80fef..bd9ee88 100644 --- a/modules/element.js +++ b/modules/element.js @@ -73,7 +73,7 @@ define_browser_object_class( "links", $xpath_expression = "//*[@onclick or @onmouseover or @onmousedown or @onmouseup or @oncommand or " + - "@class='lk' or @class='s' or @role='link'] | " + + "@role='link'] | " + "//input[not(@type='hidden')] | //a | //area | //iframe | //textarea | //button | //select | " + "//xhtml:*[@onclick or @onmouseover or @onmousedown or @onmouseup or @oncommand or @class='lk' or @class='s'] | " + "//xhtml:input[not(@type='hidden')] | //xhtml:a | //xhtml:area | //xhtml:iframe | //xhtml:textarea | " + -- 2.11.4.GIT