💾 Archived View for gem.sdf.org › s.kaplan › projects › pyxa › example1.py captured on 2024-09-29 at 01:17:24.
⬅️ Previous capture (2023-09-08)
-=-=-=-=-=-=-
# Opens a URL in Safari and prints the loaded page. import PyXA from time import sleep safari = PyXA.Safari() safari.open("https://www.apple.com") sleep(1) safari.current_document.print()