selenium并发处理多个窗口线程/进程任务

多线程执行测试用例

这里以百度搜索为例,通过不同的浏览器来启动不同的线程。

from threading import Thread
from selenium import webdriver
from time import ctime, sleep

def test_baidu(browser,search):
    print(

猜你喜欢

转载自blog.csdn.net/weixin_35770067/article/details/130842054
今日推荐