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.
For those who are searching for firefox solution this worked for me. I hope it will help others.
from selenium import webdriver profile = webdriver.FirefoxProfile() profile.set_preference("media.volume_scale", "0.0") driver = webdriver.Firefox(firefox_profile=profile)