After looking up ways to move a slider on a webpage with Selenium I found an article talking about this piece of code.
from selenium import webdriver from sel