GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — selenium/java at trunk · SeleniumHQ/selenium

Expand file tree

/

java

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

java

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
.idea
.idea
 
 
private
private
 
 
src
src
 
 
test
test
 
 
AGENTS.md
AGENTS.md
 
 
BUILD.bazel
BUILD.bazel
 
 
CHANGELOG
CHANGELOG
 
 
README.md
README.md
 
 
TESTING.md
TESTING.md
 
 
browsers.bzl
browsers.bzl
 
 
defs.bzl
defs.bzl
 
 
empty_test_template.txt
empty_test_template.txt
 
 
java-dev.iml
java-dev.iml
 
 
java.iml
java.iml
 
 
java_stub_template.txt
java_stub_template.txt
 
 
maven_install.json
maven_install.json
 
 
spotbugs-excludes.xml
spotbugs-excludes.xml
 
 
version.bzl
version.bzl
 
 

README.md

Outline

selenium-java

Java language bindings for Selenium WebDriver. Selenium automates browsers for testing and web-based task automation.

Requires Java 11+.

Installation

Replace 4.x.y with the latest version from Maven Central.

Maven

<dependency>
    <groupId>org.seleniumhq.selenium</groupId>
    <artifactId>selenium-java</artifactId>
    <version>4.x.y</version>
</dependency>

Gradle

implementation "org.seleniumhq.selenium:selenium-java:4.x.y"

Quick Start

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

public class Example {
    public static void main(String[] args) {
        WebDriver driver = new ChromeDriver();
        try {
            driver.get("https://www.selenium.dev");
            System.out.println(driver.getTitle());
        } finally {
            driver.quit();
        }
    }
}

Selenium Manager automatically handles browser driver installation — no manual driver setup required.

Documentation

  • Getting Started
  • Java API Docs
  • Selenium Manager
  • Selenium Grid

Support

  • Selenium Chat
  • GitHub Issues

Contributing

Contributions are welcome via GitHub pull requests. See the source code for this binding.

Links

  • Maven Central
  • Documentation

License

Licensed under the Apache License 2.0.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.