Behat uses the @javascript tag to route a scenario to Selenium; otherwise it is processed by Goutte (or whatever you are using instead).
Is there a way of setting up a scenario so it can run through either. depending on a setting made at run time?
I have a large number of tests which should work either way. Normally I run them through Goutte for speed, but when the management come round they like to see the pages flashing up in the browser - it gives them more confidence that the system is working. Without going through and duplicating the scenarios, is there a way to tell Behat to ignore the @javascript tag and run everything through Goutte?
I suspect this is something to do with the .yml file, probably around
extensions:
Behat\MinkExtension\Extension:
show_cmd: firefox %s
base_url: '
http://local.soa.site.template'
goutte: ~
selenium2: ~
but no idea how to change it.
Regards
John