7 ms·
Thanks for the info. What are you wanting to do with xpath? The console supports the $x function, like $x("//body"). Also, HTML node drag and drop is on the
by bgrins 12y ago
Thanks for the info. What are you wanting to do with xpath? The console supports the $x function, like $x("//body"). Also, HTML node drag and drop is on the radar here: https://bugzilla.mozilla.org/show_bug.cgi?id=858038 https://bugzilla.mozilla.org/show_bug.cgi?id=858038
- msoad 12y agoI want to get XPath from a node. I use it in WebDriverJS. Good to see drag and drop coming. There was some features that I loved. It's not fair to not mention those: CSS autocomplete is much better than Chrome’s Code Editor’s Search is just amazing! The filter for computed CSS properties is very handy for my work Black Theme is great! Please make it easy to write custom themes One little request, in console. ⌘+K should clean the console.
- mihai_sucan 12y agoWe have Ctrl-L for clear output.
- sim0n 12y ago⌘+K is consistent across other apps on OS X (e.g. Terminal)
- mihai_sucan 12y agoWe've had long discussions and arguing over cmd-k, ctrl-L, and all the shortcuts we could use. cmd-k takes over the search field focus. This is a bitter pill: any shortcut we choose is a different kind of 'wrong'.
- nwienert 12y agoI'd throw in a vote for cmd+k to clear
- ptx 12y agoBut ^L is also consistent with Terminal, across all platforms, at least in bash and other programs that use readline. :)
- bgrins 12y agoI've filed https://bugzilla.mozilla.org/show_bug.cgi?id=987877 https://bugzilla.mozilla.org/show_bug.cgi?id=987877 for adding a Copy XPath menu item in the inspector
- skybrian 12y agoA long time ago I wrote a Firefox plugin to get an XPath: https://addons.mozilla.org/en-US/firefox/addon/xpath-checker/ https://addons.mozilla.org/en-US/firefox/addon/xpath-checker... It's open source, so perhaps you could reuse the code from WebDriver: https://code.google.com/p/xpathchecker/ https://code.google.com/p/xpathchecker/