Skip to content

m4n3dw0lf/selenium-watchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

alt text alt text alt text alt text

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 <YOUR PROJECT URL>

Example

selenium-watchdog http://localhost:1337

About

Optimize front-end web development, Watchdog detect file changes and Selenium auto-refresh the webdriver

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages