Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/octoant/automated-stack-tests
Automation testing the StackOverflow platform with the Selenium framework.
https://github.com/octoant/automated-stack-tests
docker selenide selenium selenoid
Last synced: about 1 month ago
JSON representation
Automation testing the StackOverflow platform with the Selenium framework.
- Host: GitHub
- URL: https://github.com/octoant/automated-stack-tests
- Owner: octoant
- License: mit
- Created: 2022-05-31T15:31:06.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-27T13:03:52.000Z (over 2 years ago)
- Last Synced: 2023-03-04T18:06:16.649Z (almost 2 years ago)
- Topics: docker, selenide, selenium, selenoid
- Language: Java
- Homepage: https://stackoverflow.com
- Size: 3.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Automated Stack Tests
## Configure Selenoid for UI-Testing
A lighting fast Selenium Protocol implementation running browsers in Docker
containers.### Table of Contents
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Using an existing configuration file](#using-an-existing-configuration-file)### Prerequisites
Before you start to configure Selenoid, Docker has to be installed.
### Installation
Download [Configuration Manager][aerokube-cm] (Selenoid quick installation
binary) for your platform from [releases][aerokube-git-cm] page.Configuration Manager - a fully automated installation tool for Selenoid abd
Selenoid UI doing all the work for youGive execution permissions to binary:
```shell
chmod +x cm
```Run one command to start Selenoid:
```shell
./cm selenoid start --vnc
```Optionally run one more command to start Selenoid UI:
```shell
./cm selenoid-ui start
```### Using an existing configuration file
Create `browsers.json` configuration file with content:
_browsers.json_
```json
{
"chrome": {
"default": "latest",
"versions": {
"latest": {
"images": "selenoid/chrome",
"port": "4444",
"path": "/",
"tmpfs": {
"/tmp": "size=256m"
}
}
}
}
}
```Run `cm` with `--browsers-json` flag:
```shell
./cm selenoid start --vnc --browsers-json /path/to/browsers.json
```[aerokube-cm]: http://aerokube.com/cm/latest/
[aerokube-git-cm]: https://github.com/aerokube/cm/releases/latest/