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