For whatever reason, setting the viewport with a tag does not actually resize it. Maybe because the session is not started yet. Or maybe something else resets it (see if https://github.com/drevops/behat-screenshot is a problem).
Setting the viewport size in the beforeStep work.
For whatever reason, setting the viewport with a tag does not actually resize it. Maybe because the session is not started yet. Or maybe something else resets it (see if https://github.com/drevops/behat-screenshot is a problem).
Setting the viewport size in the
beforeStepwork.