current_platform
Return current platform name.
the platform name. only be one of mac win64 win32.
mac
win64
win32
OSError – if current platform is not supported.
parse_locator
validate that the locator string must a valid css or xpath.
locator – a locator string.
a tuple contains locator_type and locator_string.
LocatorNotAValidSelectorOrXPath – locator is not a valid selector or xpath string.