-
Hi, Before all, thank a lot @mdmintz for all your work and help ! Quick question, about driver.click() and driver.uc_click(). I tried the following code :
I don't have any error in the log but I expected a "click button" and it doesn't click. But if I try the following code :
It works, the button is clicked. Did you ever see this behaviour with uc_click() ? Thanks a lot ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I haven't seen that behavior. Check to see if a console |
Beta Was this translation helpful? Give feedback.
I haven't seen that behavior.
uc_click(selector)
should be used to bypass detection, and that selector doesn't look like an element that would necessarily check for Selenium when clicked. Most of the time, it's aspan
element, but it can also bebutton
ora
.Check to see if a console
document.querySelector(selector).click()
clicks the element for you. That's how the click would happen.