Adapted from thomasms to add a crude UI, not great at the moment but I think it's sort of working. you still need to locate the selenium drivers and install the glasto package.
Set the path to the driver via:
export CHROMEDRIVER=/path/to/chromedriver
Try:
python3 glasto_main.py
Requires a webdriver - only tested with chromedriver (http://chromedriver.chromium.org/)
Can use the package as:
import glasto as gl
...
Alternatively, the first version exists on PyPI and can be installed directly using pip:
pip3 install glasto
Some test sites are being added to the submodule test/sites - https://github.com/thomasms/testsites.
These mimic a real life web site that needs a lot of refreshing.
One React SPA exists so far.
Just run it locally via npm
cd test/sites
npm start
Then test the client script:
python test/testsite1.py