How to find out within a Capybara spec whether JS is active?

后端 未结 0 1327
难免孤独
难免孤独 2020-12-12 01:49

Is there a way to detect within an Rspec example whether JavaScript is currently active?

I have a helper function that needs to react differently depending on JavaScr

相关标签:
回答
  • 消灭零回复
提交回复
热议问题