MCPcopy
hub / github.com/appium/python-client / current_context

Method current_context

appium/webdriver/extensions/context.py:37–46  ·  view source on GitHub ↗

Returns the current context of the current session. Usage: driver.current_context Return: str: The context of the current session

(self)

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected