Returns the BiDi session object for the current WebDriver session.
(self)
| 1268 | |
| 1269 | @property |
| 1270 | def _session(self) -> Session: |
| 1271 | """Returns the BiDi session object for the current WebDriver session.""" |
| 1272 | if not self._websocket_connection: |
| 1273 | self._start_bidi() |
| 1274 | |
| 1275 | if self._bidi_session is None: |
| 1276 | self._bidi_session = Session(self._websocket_connection) |
| 1277 | |
| 1278 | return self._bidi_session |
| 1279 | |
| 1280 | @property |
| 1281 | def browsing_context(self) -> BrowsingContext: |
nothing calls this directly
no test coverage detected