Closed Den4kCreator closed 5 months ago
@Den4kCreator, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
Unfortunately, we cannot troubleshoot your code or identify the issue. If you are facing a problem, please provide a reduced test case that can be used to triage this issue.
Hi, @Den4kCreator. Please follow the issue template, we need more information to reproduce the issue.
Either a complete code snippet and URL/HTML (if more than one file is needed, provide a GitHub repo and instructions to run the code), the specific versions used, or a more detailed description to help us understand the issue.
Note: If you cannot share your code and URL/HTML, any complete code snippet and URL/HTML that reproduces the issue is good enough.
Reply to this issue when all information is provided, thank you.
I will close this because we didn't get any more information.
This issue has been automatically locked since there has not been any recent activity since it was closed. Please open a new issue for related bugs.
What happened?
Приветствую вас! Я получил ошибку во время работы селениума. Мой root_chromedriver не изменял .close метод он работал от Chrome объекта Selenium. Мой проект перезапускает драйвер несколько раз так как почемуто хром драйвер не может найти xpath элементы если браузер скрыт (свёрнут), из за этого его приходиться разворачивать, я автоматизировал это просто перезапуская селениум. В логах последнее что было - действие для нахождения аттрибута в элементе olx страницы, для объявления который является сервисом (услугой, целью) для покупки, но его нужно проверить можно его купить или нет, аттрибут для этого и ищеться. Произошел перезапуск драйвера в попытке перезагрузить все xpath и я так понимаю выход произошел просто неудачно. (Конечно я бы мог сделать проще и воспользоваться вложенной функцией root_chromedriver (обёртка) чтобы перезапускать его но тут я об этом не подумал, но это сейчас не главное). (примечание: большинство данных я скрыл для конфиденциальности)
(Заранее хотел бы извинится за грязь в коде и некорректное написание, непроффесионализм точнее)
ad_manager.py (function)
Ошибка (из логов)
КОД моего root chrome driver
Olx bot Manager (Заранее хотел бы извинится за грязь в коде и некорректное написание, непроффесионализм точнее)
How can we reproduce the issue?
Relevant log output