Returns the BiDi session object for the current WebDriver session.
(self)
| 1377 | |
| 1378 | @property |
| 1379 | def _session(self) -> Session: |
| 1380 | """Returns the BiDi session object for the current WebDriver session.""" |
| 1381 | if not self._websocket_connection: |
| 1382 | self._start_bidi() |
| 1383 | |
| 1384 | if self._bidi_session is None: |
| 1385 | self._bidi_session = Session(self._websocket_connection) |
| 1386 | |
| 1387 | return self._bidi_session |
| 1388 | |
| 1389 | @property |
| 1390 | def browsing_context(self) -> BrowsingContext: |
nothing calls this directly
no test coverage detected