Chrome 62 and Flash
问题 I have a Flash-based app that I need to test using Cucumber. As flash is not enabled by default I need to enable it before each test and whitelist the url I believe. If I pause the test in it's background phase I can manually set these options. How can I automate this approach though, I have looked into adding options and preferences , but still cannot seem to get to work. So this is my standard setup in an env.rb file Capybara.register_driver :chrome do |app| chrome_binary = '/Applications