How to drive Firebug from Selenium WebDriver

后端 未结 2 628
野趣味
野趣味 2021-01-05 06:02

I would like to capture the Net panel output from Firebug while running a test through WebDriver. I was thinking of doing this using NetExport to dump the info to a har file

2条回答
  •  有刺的猬
    2021-01-05 06:18

    To run Firebug within Selenium WebDriver using Java:

    Actions action = new Actions(driver);
    action.sendKeys(Keys.F12).build().perform();
    

提交回复
热议问题