#打开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()
#打开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()