Skip to content

Click hold slide combination for Mouse/Click Actions #3774

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
muffinweb opened this issue May 27, 2025 · 1 comment
Closed

Click hold slide combination for Mouse/Click Actions #3774

muffinweb opened this issue May 27, 2025 · 1 comment
Labels
self-resolved You closed/solved the issue on your own UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode

Comments

@muffinweb
Copy link

I wanted to know if there is any way to make this combination with SeleniumBase.
Simply i want to hover a element + click left on it and keep it hold + slide it right/left. This combination seems like a need to handle with Slider captcha. Sample link below

https://codepen.io/piyushpd139/full/NWbdgwB

@muffinweb
Copy link
Author

I solved this situation with using get_gui_element_rect and gui_drag_drop_points methods. Code below is not for codepen slider captcha but core solution is the same

sb.gui_hover_element("div.verify-move-block", 0.5)
rect = sb.get_gui_element_rect("div.verify-bar-area")
sb.gui_drag_drop_points(rect["x"]+10, rect["y"], rect["x"]+180, rect["y"])

@mdmintz mdmintz added self-resolved You closed/solved the issue on your own UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode labels May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
self-resolved You closed/solved the issue on your own UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode
Projects
None yet
Development

No branches or pull requests

2 participants