A simple web navigation script working on Windows and Chrome written in Python, uses Selenium and multiple Python libraries.
- Opens the main page of youtube on Chrome, clicks the Cookies button and plays a random video.
- When the video starts playing the script records the window visuals and sound for a few seconds
- When the script finishes recording, the web page closes.
Python 3.x installed on your machine Required Python libraries: cv2, numpy, pyautogui, pygetwindow, sys, pyaudio, wave, threading, logging, time