Contents

setting a custom browser

In order to test browser-specific behavior I want to specify the HtmlUnit browser profile for my project

Scenario: setting a browser to Firefox 45

  • Given I am currently in the "jasmine-webapp-custom-browser" project
  • When I run "mvn clean test"
  • Then the build should succeed
  • And I should see "has Firefox in its user agent string"

Source: features/custom_browser.feature at commit 0b121f71, Jasmine Maven Plugin (Apache-2.0 license).