增加Selenium的最大连接池大小

时间:2020-06-10 12:39:04

标签: python selenium urllib

我正在将Python Selenium与ChromeDriver配合使用以自动执行多个线程中的操作,但是看来我的任务很繁重,无法达到urllib3的默认最大池大小,并且我不断收到此警告:

urllib3.connectionpool WARNING - Connection pool is full, discarding connection with IP 127.0.0.1

我找不到Selenium软件包文件中设置的最大池大小值在哪里。

我找到了https://urllib3.readthedocs.io/en/latest/advanced-usage.html#customizing-pool-behavior,但是我找不到Selenium在文件中设置最大池大小的位置。

有人以前面对过吗?

0 个答案:

没有答案
相关问题