Closed Bug 1531090 Opened 6 years ago Closed 6 years ago

XPath highlighting feature is critically needed to be able use FF browser for work

Categories

(DevTools :: Inspector, defect)

65 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 963933

People

(Reporter: linuxaa, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0

Steps to reproduce:

I am a Selenium Web driver test automation developer. I critically need to create valid XPath for each UI object I am using for my tests. For this I need to have a tool, which allows me to enter XPath string in the field and corresponding object gets highlighted.

Actual results:

Somehow support of this feature was stopped awhile ago (on version of ~7 or something). Since then I am BLOCKED to use my favorite browser FF for test development. I got forced by that to switch Chrome browser, which allows to enter XPath string from dev console and highlighting matching UI object in browser.

Expected results:

Just add 1 field to development console, where I can enter XPath string and it will highlight corresponding UI object on the page. This will radically increase usage of FF browser in the development world.

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: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.