Слияние кода завершено, страница обновится автоматически
Hello. I am trying to test this driver and have some problems while rendering some requests. To init the instance I am running the following code:
options = ChromiumOptions()
options.set_argument('--ignore-ssl-errors=yes')
options.set_argument('--ignore-certificate-errors')
options.set_argument("--no-sandbox")
options.set_argument('--disable-dev-shm-usage')
options.set_argument("--disable-gpu")
options.set_headless(headless)
options.set_no_imgs()
self.browser = WebPage(driver_or_options=options)
And to render a webpage I am running the following:
self.browser.get(url, timeout=10, retry=1, show_errmsg=True)
However, if I use a proxy with a slow connection, the .get command hangs forever and it seems to ignore the timeout of 10 seconds provided. Is there anything wrong here or is this a bug?
Thanks!
Вход Перед тем как оставить комментарий