Closed Bug 1531733 Opened 5 years ago Closed 5 years ago

It's not possible to "Find by XPath" in Inspector

Categories

(DevTools :: Inspector, defect)

66 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 963933

People

(Reporter: twojciechowski, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36

Steps to reproduce:

I wanted to search in Inspector by XPath.

Actual results:

Searching by XPath seems to not work. Same XPath in Chrome works.

Expected results:

Firefox Dev Edition should able to find by XPath.

Component: Untriaged → Inspector
Product: Firefox → DevTools

Closing this as a duplicate of Bug 963933.

For a workaround, you may use the $x() function in the console. When called with the XPath string, it will return an array of matched nodes. Hovering over the results highlights the nodes on the page. See comment: https://bugzilla.mozilla.org/show_bug.cgi?id=963933#c23

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.