I want to write a script in which I use selenium package like this:
from selenium import webdriver driver = webdriver.Chrome() driver.get(\"https://www.youtube.
use javascript to mute sounds like this
javascript
watch_video_js= """ let video = document.querySelector('video') video.muted = true video.play() """ driver.execute_script(watch_video_js)