openbullet / OpenBullet2

OpenBullet reinvented
https://docs.openbullet.dev/
MIT License
1.76k stars 474 forks source link

[REQUEST] Selenium and Pupperteer Press and Hold Action #663

Open khanhhaohoa opened 2 years ago

khanhhaohoa commented 2 years ago

there are some work i need to press and hold for example to solve walmart captcha... normally i use python with command line:

element = driver.find_element_by_css_selector('#px-captcha')
# print(len(element.text), '- Value found by method text')
action = ActionChains(driver)
click = ActionChains(driver)
action.click_and_hold(element)
action.perform()
time.sleep(random.uniform(10.1,12.1))
action.release(element)
action.perform()
time.sleep(random.uniform(0.2,0.5))
action.release(element)

Please review and add it. I'm very happy when it's finished and will give you a cup of coffee. thank you very much.

exzin2 commented 2 years ago

Are you the admin of walmart?