from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
import time
#配置信息
#配置代码执行完后浏览器不自动关闭
options = webdriver.ChromeOptions()
options.add_experimental_option('detach', True)
url="http://*****"
driver = webdriver.Chrome(options=options)
#打开网页
driver.get(url)
python selenium模拟登录然后操作
最新推荐文章于 2024-07-16 11:34:36 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)