https://github.com/nakov/selenium-webdriver-example
Example of using Selenium WebDriver to automate Chrome Web browser from Python
https://github.com/nakov/selenium-webdriver-example
Last synced: 11 months ago
JSON representation
Example of using Selenium WebDriver to automate Chrome Web browser from Python
- Host: GitHub
- URL: https://github.com/nakov/selenium-webdriver-example
- Owner: nakov
- Created: 2020-09-04T08:25:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-04T09:47:24.000Z (over 5 years ago)
- Last Synced: 2025-01-09T11:24:17.979Z (about 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Selenium WebDriver - Example with GitHub Actions

Example of using Selenium WebDriver to automate Chrome Web browser from Python.
Selenium tests are automatically executed when the code is changed.
Testing is implemented as GitHub workflow, using GitHub Actions.
## Running the Example
This app is based on "**poetry**" package manager for Python.
First, install `poetry`.
Then run the following commands:
```
poetry install
```
```
poetry run python main.py
```
Try to comment uncomment the following lines, if Chrome fails to start:
```
chrome_options.add_argument("--no-sandbox")
chrome_options.add_argument("--headless")
```
## Source Code
https://github.com/nakov/selenium-webdriver-example
## Automated Build in GitHub Actions
https://github.com/nakov/selenium-webdriver-example/actions
## Live Example at Repl.it
https://repl.it/@nakov/selenium-webdriver-example