LoginSignup
2
0

More than 5 years have passed since last update.

Firefox Quantum では FirePathが使えない!

Posted at

Firefox 57 (Quantum)がリリースされ、Seleniumでテストケースを書く際にDOMを特定したりするのに便利に使っていたFirebugやFirePathなどのプラグインが使えなくなって困ってはいないでしょうか?
かくいう私もFirebugで頻繁に利用していたInspectに関してはFirefox Developer EditionにもInspectがあるので何とかなっているのですが、FirePathを使ってのDOMの検証については該当する機能が見つからずに困っていたのですが、InspectorをオープンしてConsoleタブから同等の操作を行なえることがわかりました。

XPathを使ってエレメントを検索
>>$x("XPathの文字列")
CSSを使ってエレメントを検索
>>$$("CSSの文字列")

こんな感じで…
スクリーンショット 2017-12-04 19.17.02.png

スクリーンショット 2017-12-04 19.17.27.png

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0