Selenium Python test doesn’t work with Proxy settings
My simple selenium python script to test how proxy fails. How to force webdriver work through proxy connection?
python selenium can not take a screenshot in headless mode
Just yesterday, a problem arose (previously, the same code seemed to work correctly) that when running selenium with the –headless parameter, the program did not find the input window, which it calmly found in windowed mode. I tried to take a screenshot of the page, as many forums wrote that it was possible to deal with ssl certificates or something like that (although I had all the options that were offered as a solution to the problem). As a result, an error occurred when creating a screenshot. I experimented a bit in a separate file and found out that the error only occurs when I use SeleniumAuthenticatedProxy.
python selenium проблема с headless
Буквально вчера возникла проблема (раньше вроде тот же код работал правильно), что при запуске selenium с параметром –headless программа не находила окна ввода, которое спокойно находила в оконном режиме. Я попытался сделать скриншот страницы, так как на многих форумах писали что возможно дело с ssl сертификатами или что-то такое (хотя у меня стояли все опции, которые предлагались как решение проблемы). По итогу при создании скриншота вылетала ошибка. Я немного поэкспериментировал в отдельном файле и выяснил, что ошибка возникает только когда я использую SeleniumAuthenticatedProxy.