MCPcopy Create free account
hub / github.com/appium/python-client / AppiumLocatorConverter

Class AppiumLocatorConverter

appium/webdriver/locator_converter.py:20–29  ·  view source on GitHub ↗

A custom locator converter in Appium. Appium supports locators which are not defined in W3C WebDriver, so Appium Python client wants to keep the given locators to the Appium server as-is.

Source from the content-addressed store, hash-verified

18
19
20class AppiumLocatorConverter(LocatorConverter):
21 """A custom locator converter in Appium.
22
23 Appium supports locators which are not defined in W3C WebDriver,
24 so Appium Python client wants to keep the given locators
25 to the Appium server as-is.
26 """
27
28 def convert(self, by: str, value: str) -> Tuple[str, str]:
29 return (by, value)

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected