Skip to content

getting-started.md sample config is missing required execution.mode field #41

Closed

Description

@shossain786

File: docs-site/docs/getting-started.md, Step 2 (currently around lines 79-98), the selenium-boot.yml sample.

The sample config has browser:, execution: baseUrl:, retry:, and timeouts: — but no execution.mode.

ConfigurationLoader.validate() (selenium-boot/src/main/java/com/seleniumboot/config/ConfigurationLoader.java) throws IllegalStateException("Execution mode must be specified") when execution.mode is absent, and further requires it be exactly local or remote.

Repro

Fresh Maven project (Java 17+, Maven 3.8+):

  1. Paste the doc's Step 1 dependency block.
  2. Paste the doc's Step 2 YAML verbatim.
  3. Paste the doc's Step 3 test class.
  4. Paste the doc's Step 4 testng.xml.
  5. Run mvn test.

Actual output

[ERROR] Selenium Boot failed to initialize. Aborting test suite execution.

followed by

org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process

No mention of what's actually wrong — you have to know to check ConfigurationLoader to find out execution.mode is required.

Suggested fix

Add mode: local under execution: in the doc's Step 2 sample.

Activity

  1. GameMaster97 commented on Sep 15, 2026

    @GameMaster97

    getting-starded.md already has your suggsted fix, did you forget to close the issue?

  2. shossain786 commented on Sep 16, 2026

    @shossain786
    ContributorAuthor

    Already fixed — the docs sample has had execution.mode: local since 2026-09-12's 37863a2 (#44, fixing #43). Thanks for the flag, @GameMaster97 — this one just slipped through unclosed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions