-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate with GitHub Actions to generate screenshots of the interface on different versions of macOS #498
Comments
This is largely complete in the gh-actions branch. However, despite stating support for macOS 11.0, per actions/runner-images#1814 , they have closed it off. As an additional caveat, I had to disable the location check in WAIL.py in this branch, as the location was not correctly identified by the Action script and the screenshots were producing the alert window saying so instead of the main interface. Lots more to do here, anyway, with regard to changing tabs/windows and including those screenshots in the artifacts. |
I experimented with some AppleScript (it's been a couple decades) and WAIL will respond to: activate application "WAIL"
tell application "System Events"
key code 21 using command down
end tell to change the UI, activating defined menu shortcuts. This will be useful for getting screenshots of the various GUI representations. https://eastmanreference.com/complete-list-of-applescript-key-codes has a visual depiction of keycodes. |
Integrated a parameterized call to an AppleScript in e3dbb96, which generates a screenshot of each WAIL view as an artifact. This is done for both macos-10.15 and macos-latest, the latter of which is 10.15. macOS 11.0 is not yet available in GH Actions per the above link but when it is, adding the string should scale this approach to the newer OS. |
|
No description provided.
The text was updated successfully, but these errors were encountered: