Python: Difference between revisions
Appearance
Ttenbergen (talk | contribs) No edit summary |
Ttenbergen (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
==User Interface Automation== | ==User Interface Automation== | ||
Line 18: | Line 9: | ||
find a screen shot: | find a screen shot: | ||
pyautogui.locateOnScreen('findonscreen.png') | pyautogui.locateOnScreen('findonscreen.png') | ||
===Pywinauto=== | ===Pywinauto=== | ||
Haven't tried this one, seems second most favourite | |||
*https://pywinauto.readthedocs.io/en/latest/ | *https://pywinauto.readthedocs.io/en/latest/ | ||
Line 31: | Line 21: | ||
* to get selenium 4 | * to get selenium 4 | ||
**https://pypi.org/project/selenium/4.0.0a6.post2/#history | **https://pypi.org/project/selenium/4.0.0a6.post2/#history | ||
== Setup == | |||
===Setting up in windows=== | |||
* https://www.python.org/downloads/windows/ | |||
=== Setting up on a stick === | |||
* https://sourceforge.net/projects/winpython/ | |||
Setup | |||
* expand on a stick | |||
==== installing packages in winpython ==== | |||
pip is in scripts directory, need to run it from there. |
Revision as of 15:45, 2020 July 13
User Interface Automation
A rating: https://github.com/pywinauto/pywinauto/wiki/UI-Automation-tools-ratings
PyAutoGUI
- https://pyautogui.readthedocs.io/en/latest/quickstart.html
- https://automatetheboringstuff.com/chapter18/
find a screen shot: pyautogui.locateOnScreen('findonscreen.png')
Pywinauto
Haven't tried this one, seems second most favourite
Browser manipulation
- https://www.selenium.dev/documentation/en/webdriver/
- to get selenium 4
Setup
Setting up in windows
Setting up on a stick
Setup
- expand on a stick
installing packages in winpython
pip is in scripts directory, need to run it from there.