我现在正在安装 Selenium,教程说我需要 Firebug。 不幸的是,在下载页面 ( https://getfirebug.com/ ) 上写着:
The Firebug extension isn't being developed or maintained any longer. We invite you to use the Firefox DevTools instead, which ship with Firebug.next
这是否意味着我现在必须使用 Firefox DevTools 来运行 Selenium?
最佳答案
selenium 不依赖于 Firebug 。 firebug 是一种检查页面元素的工具,可帮助您获取在 selenium 脚本中用于从页面中查找元素的 CSS 定位器或 xpath。现在你可以使用 devtool 来检查元素,就像 chrome 的 devtool。
关于javascript - 在没有 Firebug 的情况下使用 Selenium?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46165345/