Returns the current context of the current session. Usage: driver.current_context Return: str: The context of the current session
(self)
| 35 | |
| 36 | @property |
| 37 | def current_context(self) -> str: |
| 38 | """Returns the current context of the current session. |
| 39 | |
| 40 | Usage: |
| 41 | driver.current_context |
| 42 | |
| 43 | Return: |
| 44 | str: The context of the current session |
| 45 | """ |
| 46 | return self.execute(Command.GET_CURRENT_CONTEXT)['value'] |
| 47 | |
| 48 | @property |
| 49 | def context(self) -> str: |