【问题标题】:How does one open the Firefox error console using Selenium commands?如何使用 Selenium 命令打开 Firefox 错误控制台?
【发布时间】:2011-07-06 10:21:24
【问题描述】:

如何让它在 Selenium 中按下快捷键 Ctrl+Shift+J 来打开 Firefox 错误控制台?还是有其他方法可以从 Selenium 打开 Firefox 错误控制台?

【问题讨论】:

    标签: firefox selenium


    【解决方案1】:

    selenium 中没有打开 firefox 错误控制台的命令。你可以试试

    selenium.controlKeyDown()
    selenium.shiftKeyDown()
    selenium.keyPressNative("j")
    selenium.controlKeyUp()
    selenium.shiftKeyUp()
    selenium.keyUpNative("j")
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-11-21
      • 2016-10-10
      • 2018-12-26
      • 1970-01-01
      • 2020-10-21
      • 1970-01-01
      • 2013-04-12
      • 2015-09-05
      相关资源
      最近更新 更多