Skip to main content

Selenium

Submit and collect your Selenium results in Testiny to track automated test runs. By integrating Selenium with Testiny, you can gain valuable insights into your testing process. Track automation results over time, identify frequently failing tests, and detect patterns in test failures to fix CI failures and find flaky tests.

While Selenium itself is not a test runner, it supports automation across all major browsers through WebDriver. Running Selenium tests requires making assertions on actions, so a good assertion library is essential.

Import Results to Testiny

Selenium integrates with a wide range of test runners, including JUnit, TestNG, pytest, NUnit, Jest, Mocha, and many more. For each language and test runner, Selenium provides example projects to help you get started.

Once your tests are executed through your chosen test runner, you can import the automation results into Testiny. This allows you to track test outcomes, monitor trends over time, and gain actionable insights into your testing process, all in a single dashboard.

Independently of the test runner you choose, here’s a step-by-step overview of how integrating your Selenium tests with Testiny works:

  1. Execute your Selenium tests and generate a result file in a supported format (JUnit, TestNG, pytest, NUnit, Jest, Mocha, ...).
  2. Upload your results with the Testiny CLI.
info

See an example of Selenium (with JavaScript/Mocha) in our GitHub repository to explore a full integration workflow in practice.

More resources

Here are some further resources to help you get started with integrating Selenium with Testiny, including CI/CD integration examples, a full automation guide, and the Testiny CLI.