which method is stealthiest and most seleniumbase compatible? execute_script(js) or pyautogui or click() without uc? #2787
-
Hello everyone, I found a checkbox in a website yesterday not detectable by seleniumbase that uc_click() method doesnt work on because this checkbox element uses JavaScript for click functionality via id rather do everything in selenium but which of these 3 methods is most "stealthy" and least likely for detection? js_click()/click(), execute_script(js), or pyautogui? also is there a way using connect() disconnect() to make js_click() similar to uc_clikc()? I read on previous discussion forms that executescript may raise red flags when doing something like opening a tab, so I am leaning to pyautogui but don't know how seleniumbase compatible it is, or how "stealthy" it is as i lack experience with the library. also if there is another better workaround, pls lmk, and thank you everyone |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
driver.uc_click(selector)
is a stealth click in UC Mode.For maximum stealth, combine UC Mode with
pyautogui
. (Eg: #2626 (comment))