Returns the contexts within the current session. Usage: driver.contexts Return: :obj:`list` of :obj:`str`: The contexts within the current session
(self)
| 22 | class Context(CanExecuteCommands): |
| 23 | @property |
| 24 | def contexts(self) -> List[str]: |
| 25 | """Returns the contexts within the current session. |
| 26 | |
| 27 | Usage: |
| 28 | driver.contexts |
| 29 | |
| 30 | Return: |
| 31 | :obj:`list` of :obj:`str`: The contexts within the current session |
| 32 | |
| 33 | """ |
| 34 | return self.execute(Command.CONTEXTS)['value'] |
| 35 | |
| 36 | @property |
| 37 | def current_context(self) -> str: |