Selenium python code quits the webpage after execution
Advertisements Selenium code quits the webpage page after executing, although I added the line "driver.quit()" and it quits after loading the webpage. Note: The browser is Microsoft Edge from selenium import webdriver from selenium.webdriver.common.by import By driver = webdriver.Edge() driver.get("https://www.youtube.com/?app") driver.set_window_size(1285, 824) driver.quit() >Solution : The driver.quit() method is used to close the entire browser… Read More Selenium python code quits the webpage after execution