Changes

Jump to: navigation, search

DOM/XPath Generator

373 bytes added, 00:16, 19 January 2006
Potential Use Cases
[http://verbosio.mozdev.org Verbosio] would be able to translate a XPath for a document it's editing into a XPath for a XUL tree (a la DOM Inspector) representing the document's structure. This would be through simple text replaces. Thus, a node found in the master document would easily translate to a XUL tree item.
 
Shane Caraveo at ActiveState is working to develop a XUL unit test extension that would work in a similar fashion to Selenium and Selenium Recorder. This consists of recording DOM events, and saving an xpath to the event target so the target can found and used to replay an event. Exploratory code is in [https://bugzilla.mozilla.org/show_bug.cgi?id=323938 bug 323938].
Developers would no longer have to guess a working XPath to a node for future reference. This would reduce development time.
Confirm
169
edits

Navigation menu