Skip to content

Instantly share code, notes, and snippets.

@misterjupiter
misterjupiter / captureLiveWP.py
Created August 24, 2024 13:29
Example: setting a Chromecast live wallpaper on linux for the Gnome desktop with Python3, Selenium and Chromedriver
# make sure you have Selenium installed: https://pypi.org/project/selenium/
# make sure you have the latest chromedriver installed: https://googlechromelabs.github.io/chrome-for-testing/
# save this file somewhere, change the paths as you need and make it autostart. enjoy.
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.chrome.service import Service
import os
import time