-
Install Selenium chromedriver.
-
Enter the virtual fiduswriter environment (or create a new one).
-
Install python selenium bindings:
pip install selenium
-
Copy test-driver.py to testing.py.
-
Fill in the server details at the top of testing.py.
-
Execute the test:
python testing.py
-
Enter the virtual fiduswriter environment (or create a new one).
-
Install loremipsum and python bindings for libxdo:
pip install selenium python-libxdo
-
Open the browser window on the page where the typing is to happen.
-
Start the test:
python autotype.py
-
Switch back to the browser window within 5 seconds.
-
In order to stop the test, switch to the terminal window where you started the test and hit CTRL+C. Test will end after a few seconds.