Welcome to selenium-async’s documentation!

Summary

selenium_async.run_sync(func, *[, browser, ...])

selenium_async.use_browser([options, pool])

selenium_async.Pool(*[, max_size, ...])

selenium_async.default_pool()

selenium_async.launch([options])

selenium_async.launch_sync([options])

selenium_async.BrowserType

alias of Literal['firefox', 'chrome']

selenium_async.Options(*[, browser, headless])

Re-exported from selenium package

selenium_async.EC

selenium_async.By()

Set of supported locator strategies.

selenium_async.Firefox(*args, **kwargs)

selenium_async.FirefoxBase

alias of selenium.webdriver.firefox.webdriver.WebDriver

selenium_async.FirefoxOptions

alias of selenium.webdriver.firefox.options.Options

selenium_async.Keys()

Set of special keys codes.

selenium_async.TimeoutException([msg, ...])

Thrown when a command does not complete in enough time.

selenium_async.WebDriver([command_executor, ...])

selenium_async.WebDriverWait(driver, timeout)

Using the WebDriver pool

async selenium_async.run_sync(func: Callable[[selenium_async._selenium.WebDriver], selenium_async.core.T], *, browser: Literal['firefox', 'chrome'] = 'firefox', headless: bool = True, loop: Optional[asyncio.events.AbstractEventLoop] = None, pool: Optional[selenium_async.pool.Pool] = None) selenium_async.core.T[source]
selenium_async.use_browser(options: Optional[selenium_async.options.Options] = None, *, pool: Optional[selenium_async.pool.Pool] = None)[source]

Creating Webdriver Pools

selenium_async.Pool(*, max_size: int = 4, blank_page_after_use: bool = True)[source]
selenium_async.default_pool()[source]

Launching browsers without a pool

async selenium_async.launch(options: Optional[selenium_async.options.Options] = None) selenium_async._selenium.WebDriver[source]
selenium_async.launch_sync(options: Optional[selenium_async.options.Options] = None) selenium_async._selenium.WebDriver[source]
selenium_async.Options(*, browser: Literal['firefox', 'chrome'] = 'firefox', headless: bool = True)[source]
selenium_async.BrowserType(*args, **kwargs)