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

Method to_w3c

appium/options/common/base.py:115–121  ·  view source on GitHub ↗

Formats the instance to a valid W3C session request object :return: W3C session request object

(self)

Source from the content-addressed store, hash-verified

113 return {'capabilities': {'firstMatch': [{}], 'alwaysMatch': processed_caps}}
114
115 def to_w3c(self) -> Dict:
116 """
117 Formats the instance to a valid W3C session request object
118
119 :return: W3C session request object
120 """
121 return self.as_w3c(self.to_capabilities())
122
123 def to_capabilities(self) -> Dict:
124 return copy.copy(self._caps)

Callers 1

start_sessionMethod · 0.80

Calls 2

as_w3cMethod · 0.95
to_capabilitiesMethod · 0.95

Tested by

no test coverage detected