Re: Xpath search in Firebug search window stopped working

137 views
Skip to first unread message

Jan Honza Odvarko

unread,
Oct 9, 2012, 2:59:34 AM10/9/12
to Firebug
Doesn't this feature come from a Firebug extension?

Note that you can also run:

$x('//*[@id="hplogo"]')

in the command line (in the Console panel) to get list of matching
elements

Honza

On Oct 9, 3:21 am, TedK <t...@allrecipes.com> wrote:
> I used to be able to type/paste an xpath expression into Firebug's search
> box (top right) to locate elements on the page. This was invaluable for
> refining and validating my xpath expressions.
> Just recently this functionality seems to have broken. Now any xpath I put
> into the box just highlights red.
> For example:
>     gotohttp://www.google.com
>     Right click the Google logo  and inspect with Firebug
>     In the Firebug window, right click the highlighted HTML element and
> choose "Copy Xpath"
>     Paste the resulting Xpath (//*[@id="hplogo"]) into Firebug's search box
>
> In the past, it would have selected and highlighted the Google logo.
> Is this functionality gone/changed? I can't find anything on the site about
> it. Was it an undocumented feature?
Reply all
Reply to author
Forward
0 new messages