seleniumbase / SeleniumBase

📊 Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
https://seleniumbase.io
MIT License
5.16k stars 958 forks source link

ActionChains Support #2902

Closed PankajSavaliya closed 3 months ago

PankajSavaliya commented 3 months ago
 action_chains = ActionChains(driver)
                        action_chains.key_down(Keys.CONTROL).key_up(Keys.CONTROL).perform()

Do I need to use this above or does any SB has for this method?

there are a lot of actions that are needed its just a sample.

mdmintz commented 3 months ago

Duplicate of https://github.com/seleniumbase/SeleniumBase/discussions/2749#discussioncomment-9313866

With SeleniumBase, you can use any raw Selenium method via sb.driver. (That includes the use of ActionChains.)

Here's an advanced example: https://github.com/seleniumbase/SeleniumBase/issues/2471#issuecomment-1931316762