-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
[Feature request] support moving elements #192
Comments
@boludoz Please provide more information such as
|
For example, suppose we disable the loading wait in 'self.get' and use the element wait timeout, which is very useful. If the website does not finish loading and an image appears that moves a button downwards in a cascading manner, this will cause a click failure, and it is more common than it seems. Then the code will continue and wait until the next find_element, there the 'silent error' will occur. In the original selenium this will produce a click intercepted exception or something like that. |
You mean support |
Yes, I think it's more of a "small bug", if an element is not loaded on time it will fail, using javascript to click that doesn't happen but I understand the concept of undetectability which is very effective, maybe create a function for personal use so that it uses moveto but ends the movement with jsclick. |
Maybe you can make the click location check and the click be in the same previous call |
Nope, click unfortunately has to be in one call. Only thing possible similarly like that is pausing the debugger. Tho thet ofc is detectable. |
Maybe a pre-check. |
Perhaps a pre-check of the element as a human would do, pausing the page when clicking. |
Can you explain to me how you did this to access an iframe with CDP? |
business secret 🤫😂 |
Perhaps you can pause the execution of the website for a moment. |
yeah but that would be detectable |
Can't you cut off the internet and disable the cache just before clicking? I think there is a command to do this. |
uh well but the script could save the current time in a variable, even obfuscated etc. just really not feasible. This will have to get implemented by some propper algorithm which takes into account moving elements & generates a mouse path accordingly in real-time. atm don't have the time nor enough calculus & stats. knowledge to develop that kind of stuff. |
It is not a moving element, but a simple web page that has not yet finished loading its images and there is a button right below it. |
Well but it's still the issue that the element location changes - right? |
It's true |
The clicking system is great, but sometimes it is not correct when there is movement, the button cannot be pressed and it causes a silent error. For example when an image is loading.
The text was updated successfully, but these errors were encountered: