Async Usage
AsyncInput
await cdp_patches.input.AsyncInput()
Kwargs | Type | Usage | Defaults |
---|---|---|---|
pid |
| The Main Chrome Browser Window PID to connect to. Can also be found in Chromes Task-Manager (Shift+Esc). |
|
browser |
| An Async Browser Instance. Can be any of: (sd = selenium_driverless) (pw = playwright) sd.webdriver.Chrome, pw.async_api.Browser, pw.async_api.BrowserContext |
|
scale_factor |
| The Scaling Factor of the Browser. If a |
|
emulate_behaviour |
| Whether to emulate human behaviour. |
|
window_timeout |
| Timeout to wait for a window to be recognized. In Seconds. |
|
AsyncInput Properties
Property | Type | Usage | Defaults |
---|---|---|---|
emulate_behaviour |
| Whether to emulate human behaviour. |
|
window_timeout |
| The Time of how long to search for the Window in seconds. |
|
base |
| The Base Interaction Layer. Can be useful in some special cases in which emulate_behaviour isnt sufficient. Only Readable. |
|
scale_factor |
| The Scaling Factor of the Browser. If a |
|
sleep_timeout |
| How long to sleep after certain actions, for example in between a double-click. In Seconds. |
|
window_timeout |
| Timeout to wait for a window to be recognized. In Seconds. |
|
typing_speed |
| How fast to type in WPM. |
|
AsyncInput Methods
Last updated