https://github.com/m4n3dw0lf/selenium-watchdog
Optimize front-end web development, Watchdog detect file changes and Selenium auto-refresh the webdriver
https://github.com/m4n3dw0lf/selenium-watchdog
css3 ejs-templates html5 javascript refresher refreshlayout selenium-webdriver watchdog web
Last synced: 2 months ago
JSON representation
Optimize front-end web development, Watchdog detect file changes and Selenium auto-refresh the webdriver
- Host: GitHub
- URL: https://github.com/m4n3dw0lf/selenium-watchdog
- Owner: m4n3dw0lf
- License: gpl-3.0
- Created: 2017-06-24T02:42:46.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-03-25T21:42:16.000Z (about 4 years ago)
- Last Synced: 2025-01-05T21:44:45.183Z (4 months ago)
- Topics: css3, ejs-templates, html5, javascript, refresher, refreshlayout, selenium-webdriver, watchdog, web
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README



[](https://blockchain.info/address/1Eggia3JXwWiR4mkVqztionNUfs2N3ghAd)# selenium-watchdog
Automatically seek for changes on your files in your current directory recursively and refreshes the selenium browser to check the frontend changes.
## Requisites
- Python2.7
- GNU/Linux OS x64## Installation
```
git clone https://github.com/m4n3dw0lf/selenium-watchdog
cd selenium-watchdog
pip install selenium watchdog
wget https://github.com/mozilla/geckodriver/releases/download/v0.13.0/geckodriver-v0.13.0-linux64.tar.gz
tar -xvzf geckodriver*
#or any other directory inside your $PATH variable
sudo cp geckodriver /usr/local/bin
chmod +x selenium-watchdog.py
#or any other directory inside your $PATH variable
sudo cp selenium-watchdog.py /usr/local/bin/selenium-watchdog
```## Usage
- Navigate to the project folder that you want to monitor file changes
- Start to listen your web-server
- Run:
```
selenium-watchdog
```## Example
```
selenium-watchdog http://localhost:1337
```