admin管理员组

文章数量:1345490

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

本文标签: 浏览器seleniumchrome