Watir webdriver: Doesn't do anything after opening browser (firefox)

前端 未结 1 483
情书的邮戳
情书的邮戳 2020-12-22 08:15

It was working fine before, now whenever I run the script it just opens Firefox then does nothing. It works when running with chromedriver though.

Tried updating gem

相关标签:
1条回答
  • 2020-12-22 08:35

    The latest Firefox version will no longer work with the legacy Firefox Driver. To use Watir with Firefox 48+ you need to download geckodriver and follow the instructions for Ruby.

    Since Geckodriver is not yet feature complete, you most likely will want to continue using the legacy Firefox Driver, which means either using Firefox ESR or downgrading to Firefox 47.0.1.

    0 讨论(0)
提交回复
热议问题