#打开Chrome浏览器并放大 from selenium import webdriver def BrowserOpen(): driver = webdriver.Chrome(); driver.maximize_window() driver.get("https://www.baidu") driver.quit() if __name__ == "__main__": BrowserOpen()
转载于:https://wwwblogs/zhmiao/p/10523146.html