当我们在 Selenium 上运行 python 测试用例时,我们会间歇性地看到以下错误
self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7fb8457b1b70>
response = {'status': 403, 'value': '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\n...6
The Squid Software Foundation and contributors\n *\n * Squid software is distributed under GPLv2+ license and inclu'}
由于上述错误,许多测试用例被跳过并失败。
您可以进行多个级别的检查: