Trying to get selenium working in rails 3 - “WebMock::NetConnectNotAllowedError”

后端 未结 8 1473
遥遥无期
遥遥无期 2020-12-13 14:10

I\'m trying to use selenium for the first time in a rails 3 app. (I\'ve used it before with rails 2). I\'m in an rvm which of course has its own gemset.

I first r

相关标签:
8条回答
  • 2020-12-13 14:39

    I tried the above answers and none of them worked, then found that the issue was my workplace's Internet connection. It worked on my home's Internet connection.

    0 讨论(0)
  • 2020-12-13 14:41

    WebMock.disable_net_connect! allow_localhost: true

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