https://github.com/rgl/selenium-java-maven-example
A Selenium Java example running inside a Dev Container
https://github.com/rgl/selenium-java-maven-example
devcontainer example java selenium selenium-java selenium-webdriver
Last synced: 5 months ago
JSON representation
A Selenium Java example running inside a Dev Container
- Host: GitHub
- URL: https://github.com/rgl/selenium-java-maven-example
- Owner: rgl
- Created: 2025-08-30T19:10:53.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-08-30T19:28:15.000Z (5 months ago)
- Last Synced: 2025-08-30T21:21:13.991Z (5 months ago)
- Topics: devcontainer, example, java, selenium, selenium-java, selenium-webdriver
- Language: Java
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
[](https://github.com/rgl/selenium-java-maven-example/actions?query=workflow%3Atest)
This is a Selenium Java example running inside a Dev Container.
# Usage
Install the dependencies:
* [Visual Studio Code](https://code.visualstudio.com).
* [Dev Container plugin](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).
Open this project directory with the Dev Container plugin.
Access the Selenium Grid WebDriver:
http://localhost:4444
Access the noVNC console:
http://localhost:7900/?autoconnect=true&resize=scale
In Visual Studio Code, select the `Testing` icon, and execute the tests. Observe the browser session in the noVNC interface.
Open the Visual Studio Code Terminal.
Execute the tests:
```bash
mvn test
```
The test results will be stored in the `target/surefire-reports` directory.