BASE

Selenium

Selenium

Test automation · Free

A collection of WebDriver tools for browser automation in different languages and remote test execution through Selenium Grid.

Also known as: seleniumhq/selenium; selenium; seleniumhq

Resource illustration: Selenium

Open resource ↗

What you can use for free

Code and local use under Apache-2.0.

Paid features and costs

Compute, your own hosting, and external services are paid for separately if selected.

Access and limitations

Code and local use under Apache-2.0. Compute, your own hosting, and external services are paid for separately if selected.

Use cases

  • Automate a scenario through WebDriver
  • Connect a WebDriver test to a local browser or Selenium Grid

Example workflow

A possible workflow; this is not a report of hands-on testing.

Automate a scenario through WebDriver.

Before you start

  • One important workflow and its expected result.
  • A test environment with controlled data.

Steps

  1. Define page actions and checks for the selected browser driver.
  2. Connect a WebDriver test to a local browser or Selenium Grid.
  3. Run the check locally and save the report in CI.

Check your result

  • The check detects a deliberately broken workflow.
  • The result can be reproduced without depending on a personal session.

Choosing Selenium

Automate a scenario through WebDriver

Choose this when

  • Automate a scenario through WebDriver
  • Connect a WebDriver test to a local browser or Selenium Grid

Consider alternatives when

  • When choosing for this topic, compare Selenium with Cypress. A candidate to compare under the topic: Testing and diagnostics. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
  • When choosing for this topic, compare Selenium with Playwright. A candidate to compare under the topic: Testing and diagnostics. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

Requirements

  • Selenium bindings for the chosen language and a browser are required; Manager uses the network to identify and download a missing driver.

Things to consider

  • Costs and limits of free use: Compute, your own hosting, and external services are paid for separately if selected.
  • Terms of use: Apache-2.0: code; third-party components retain their own terms.
  • Selenium Manager acts as a fallback when no driver is specified; a manually specified driver still needs browser compatibility.

Frequently asked questions

What can you use for free in Selenium?

Code and local use under Apache-2.0.

What additional costs might arise with Selenium?

Compute, your own hosting, and external services are paid for separately if selected.

What terms of use matter for Selenium?

Apache-2.0: code; third-party components retain their own terms.

How do you get started with Selenium?

Define page actions and checks for the selected browser driver. Connect a WebDriver test to a local browser or Selenium Grid. Run the check locally and save the report in CI.

Must chromedriver always be downloaded manually?

Selenium Manager ships with the bindings: when a driver is absent, it identifies the browser version, finds a suitable driver, downloads it, and caches it. An existing driver in PATH may be used instead.

Are Bazel and JDK required for an ordinary test?

The repository README targets developers of Selenium itself. Source-build requirements cannot be applied to every user workflow; choose bindings for your language.

Related tasks and approaches

  • Cypress

    A candidate to compare under the topic: Testing and diagnostics. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

  • Playwright

    A candidate to compare under the topic: Testing and diagnostics. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

  • Puppeteer

    A candidate to compare under the topic: Testing and diagnostics. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

License

Apache-2.0: code; third-party components retain their own terms.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Selenium
  • test
  • Development

Sources

Other resources