Prerequisites pip install selenium Code Snippet # Importing required modules and initializing variables selenium webdriver selenium.webdriver.common.action_chains ActionChains re string = # ______________________________________ # Opening thetypingcat.com on firefox firefox = webdriver.Firefox() firefox.get( ) # ______________________________________ # Using javascript to get the typing content the website and storing value variable i range(firefox.execute_script( )): string += firefox.execute_script( +str(i)+ ) string = re.sub(r , ,string) #This line is just tags present inside string # ______________________________________ # Selenium commands to type what is stored inside string variable on the focused screen action = ActionChains(firefox) action.send_keys(string) action.perform() # ______________________________________ END ______________________________________ from import from import import '' 'https://thetypingcat.com/typing-speed-test/1m' from in "string" for in 'return document.querySelectorAll(".line").length' 'return document.querySelectorAll(".line")[' '].innerHTML' '<[^>]*>' '' delete That's All Selenium is good but building a cool project from it is more than awesome. And now you know what kind of cool projects can be build through just a little bit of , and by google search, viewing the DOM understanding the technology. Thanks for Reading till here 😏