1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/g1879-DrissionPage

 / Детали:

.get timeout not working

Завершенные
Владелец
Создано  
29.11.2024

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!

Комментарий (0)

GitLife Service Account Задача создана
GitLife Service Account изменить Статус задачи с Предстоит сделать на Завершенные
Развернуть журнал операций

Вход Перед тем как оставить комментарий

Статус
Ответственный
Контрольная точка
Pull Requests
Связанные запросы на слияние могут быть закрыты после их объединения
Ветки
Дата начала   -   Крайний срок
-
Закрепить/Открепить
Приоритет
Участники(1)
1
https://api.gitlife.ru/oschina-mirror/g1879-DrissionPage.git
git@api.gitlife.ru:oschina-mirror/g1879-DrissionPage.git
oschina-mirror
g1879-DrissionPage
g1879-DrissionPage