Symulować kamerę internetową i selen mikrofon

chromedriver = 'C:/tests/chromedriver.exe'
options = webdriver.ChromeOptions()
options.add_argument("--use-fake-ui-for-media-stream")
options.add_argument("--use-fake-device-for-media-stream")
driver = webdriver.Chrome(executable_path = chromedriver, chrome_options = options)
Unsightly Unicorn