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