Click on element before page is fully loaded using selenium

Viewed 22

I'm using proxies on an automated selenium process in Chrome, but selenium only continues when the page is fully loaded, which takes around 30 seconds, while the element that I have to click on Is loaded within 5 seconds. Right now I'm using the module pyautogui to just spam the place where the redirect button is, so it can fill in a form. I Have tried with

caps["pageLoadStrategy"] = "eager" and driver.set_page_load_timeout(10) But none of them work. I just want the button to be clicked as soon as it is interactable, which it is as soon as it is visible.

Any help would be much appreciated :D

0 Answers
Related