Open golddragon007 opened 5 years ago
Yup, only @javascript
for now. See #44 and #45.
Hmmm.. it strange, if I set browser_name: 'selenium2' and I delete goutte: ~ then it makes from the non JS scenarios too.
Seems you made Selenium default, no?
Probably yes, I don't know too much from these options.
@golddragon007
Your default mink driver is goutte
and that driver doesn't support screenshot taking... when you use the @javascript
tag then the selenium2
is used which supports screenshot taking therefore you see screenshots.
One possible solution is to set selenium as default driver. See this comment for more detail: https://github.com/elvetemedve/behat-screenshot/issues/38#issuecomment-315193651
Also related: https://github.com/elvetemedve/behat-screenshot/issues/22
I have this settings:
And I noticed it only creates screenshots from the failed scenarios if the scenario is annotated as a javascript scenario. It's not possible to create screenshot if it's not annotated like that? And some why on the screenshot I can see only the text without css... But form the browser it works...