Get an input module object for BiDi input commands. Returns: An object containing access to BiDi input commands. Examples: ``` from selenium.webdriver.common.bidi.input import KeySourceActions, KeyDownAction, KeyUpAction actions = Ke
(self)
| 1394 | |
| 1395 | @property |
| 1396 | def input(self) -> Input: |
| 1397 | """Get an input module object for BiDi input commands. |
| 1398 | |
| 1399 | Returns: |
| 1400 | An object containing access to BiDi input commands. |
| 1401 | |
| 1402 | Examples: |
| 1403 | ``` |
| 1404 | from selenium.webdriver.common.bidi.input import KeySourceActions, KeyDownAction, KeyUpAction |
| 1405 | |
| 1406 | actions = KeySourceActions(id="keyboard", actions=[KeyDownAction(value="a"), KeyUpAction(value="a")]) |
| 1407 | driver.input.perform_actions(driver.current_window_handle, [actions]) |
| 1408 | driver.input.release_actions(driver.current_window_handle) |
| 1409 | ``` |
| 1410 | """ |
| 1411 | if not self._websocket_connection: |
| 1412 | self._start_bidi() |
| 1413 | |
| 1414 | if self._input is None: |
| 1415 | self._input = Input(self._websocket_connection) |
| 1416 | |
| 1417 | return self._input |
| 1418 | |
| 1419 | @property |
| 1420 | def request(self) -> APIRequestContext: |
nothing calls this directly
no test coverage detected