Skip to content

how to hold an element and move it #103

Closed Answered by cleitonleonel
tututu-Panda asked this question in Q&A
Discussion options

You must be logged in to vote

I want to perform operations on sliders by obtaining an element and then performing press-and-move operations on it, just like webdriver code.

webdriver code like:

action = ActionChains(driver)
action.click_and_hold(button).perform()
action.move_by_offset(move_x, 0).perform()
action.release().perform() 

how to do it in pydoll?

I don't think this feature exists, I opened an issue to implement this feature.
I also missed having more mouse control beyond JavaScript methods.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tututu-Panda
Comment options

Answer selected by tututu-Panda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants