How to customize screen resolution with saucelabs (selenium, behat3.0 mink) capabilities
问题 This is my behat.yml file : firefox: suites: firefox: contexts: -FeatureContext extensions: Behat\MinkExtension: javascript_session: selenium2 base_url: https://example.com selenium2: wd_host: username:pwd@ondemand.saucelabs.com/wd/hub browser: firefox capabilities: {'platform':'OS X 10.10', 'browser':'firefox', 'version':'42.0', "screen-resolution":"1280x1024"} Which is giving error " [Symfony\Component\Config\Definition\Exception\InvalidConfigurationException] Unrecognized option "screen