qmetrics.net

SeleniumLibrary

Selenium-based web testing library for Robot Framework

SeleniumLibrary provides browser automation keywords for Robot Framework using Selenium internally. Install from PyPI with pip; Selenium Manager handles browser drivers.

Overview

SeleniumLibrary is a web testing library for Robot Framework. Tests import it like any other library and use its keywords to open browsers, interact with pages, and assert behavior while Selenium carries out the underlying browser control.

The library targets current Selenium and supports CPython and PyPy across documented Python versions. Installing the PyPI package pulls in compatible Selenium and Robot Framework dependencies. Browsers and drivers are installed and managed automatically through Selenium Manager.

Keywords are documented for import-time options and individual actions. They are fairly low level and often need locators or other implementation-specific arguments, so teams commonly wrap them in project-specific higher-level Robot keywords. A public plugin API allows adding or changing keywords and adjusting internal behavior, and separate libraries can be built on top of SeleniumLibrary when extensions are domain-specific.

Usage follows standard Robot Framework test data syntax: suites declare the library in settings, define test cases, and optionally tear down browsers. Typical patterns include logging in through composed keywords built from library primitives.

Key features

  • Robot Framework browser keywords
  • Built on Selenium WebDriver
  • Selenium Manager for drivers
  • CPython and PyPy support
  • Import-time library options
  • Plugin API for custom keywords
  • Extensible public APIs
  • Documented keyword reference

Use cases

  • Robot Framework web acceptance tests
  • Browser UI regression automation
  • Custom keyword libraries on Selenium
  • Teaching Robot web test syntax
  • PyPy-based test environments

Does the same job as

SeleniumLibrary doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare SeleniumLibrary

Similar software

Selenium

Cross-language browser automation via W3C WebDriver

Selenium automates Chrome, Firefox, Edge, and Safari from Java, Python, C#, Ruby, JavaScript, or Kotlin. It implements the W3C WebDriver standard and downloads browser drivers automatically.

  • W3C WebDriver standard support
  • Bindings for six major languages
  • Automatic browser driver management
JavaDetails →
★ 34.6k⟳ todayApache-2.0
Open Source Alternative to:ACCELQCopado Robotic Testing+3

Testify

Go test helpers for assertions, mocks, and suites

Testify is a set of Go packages that extend the standard testing library with readable assertions, hard failures, mocks, and structured suites. Install it with go get.

  • Readable assert helpers for go test
  • Require helpers that halt failing tests
  • Mock objects with expectation tracking
GoDetails →
★ 26.3k⟳ 2 months agoMIT

React Testing Library

React DOM component testing utilities

A lightweight library that adds testing helpers on top of react-dom and react-dom/test-utils. It steers tests toward user-like DOM interaction instead of component implementation details.

  • DOM-oriented React component queries
  • Utilities built on react-dom test-utils
  • Label and text-based element lookup
JavaScriptDetails →
★ 19.7k⟳ 3 months agoMIT

volkswagen

Node library that passes tests under CI detection

Volkswagen is a small Node module that detects continuous-integration environments and alters test behavior so suites exit successfully when run on CI servers.

  • Detects CI environment variables
  • Hooks into Node test runs
  • Single require() integration
JavaScriptDetails →
★ 15.5k⟳ 9 months agoMIT

Mockito

Java mocking framework for unit tests

Mockito is a mocking framework for unit tests written in Java. It provides a small API to create mocks, stub behavior, verify interactions, and support partial spies and injection.

  • Mock interfaces and concrete classes
  • Stub and verify interactions
  • Partial mocking with spies
JavaAndroidDetails →
★ 15.5k⟳ 8 days agoMIT

supertest

Node.js HTTP server testing via superagent

Supertest offers a fluent API for asserting HTTP behavior against Node.js servers during automated tests. It builds on superagent so you can express status, headers, and body expectations in code.

  • Fluent HTTP expectations
  • Ephemeral port binding
  • Works with any test runner
JavaScriptDetails →
★ 14.4k⟳ 27 days agoMIT