Behat test not opening the browser

Viewed 9

When I run my test in Behat the test is executed but the browser won't open and i can't see the steps. I run chromedriver before executing the test and both chromedriver and chrome are up-to-date bash terminal

This is my behat.yml

default:
  formatters:
    pretty:
    html:
      output_path: "build/"
  extensions:
    emuse\BehatHTMLFormatter\BehatHTMLFormatterExtension:
      name: html
      renderer: Twig
    Behat\MinkExtension:
      files_path: "%paths.base%/files/"
      browser_name: "chrome"
      selenium2:
        browser: "chrome"
        wd_host: "http://localhost:9515"
        capabilities:
          extra_capabilities:
            goog:chromeOptions:
              w3c: false
              args:
                - '--no-sandbox'
                - '--window-size=1920,1080'
          marionette: true
          browserName: "chrome"
          browser: "chrome"
          version: "*"

imports:
  - ymls/PROJECT_NAME.yml

What did you try and what were you expecting? Describe what you tried, what you expected to happen, and what actually resulted. Minimum 20 characters.

0 Answers
Related