from appium.webdriver.common.mobileby import MobileBy class AlbumsLocators: ALL_ALBUMS_LB = (MobileBy.IOS_CLASS_CHAIN, "**/XCUIElementTypeStaticText[`label == \"All Products\"`]") NEWEST_RELEASES_LB = (MobileBy.IOS_CLASS_CHAIN, "**/XCUIElementTypeStaticText[`label == \"Newest Releases\"`]") ALBUMS_ALLTIME = (MobileBy.IOS_CLASS_CHAIN, "**/XCUIElementTypeStaticText[`label == \"ALLTIME\"`]") ALBUMS_BETA_BN = (MobileBy.ACCESSIBILITY_ID, "BETA") ALBUMS_BETA_LB = (MobileBy.ACCESSIBILITY_ID, "Albums, EPs, and LPs (BETA)") ALBUMS_LIST = (MobileBy.IOS_CLASS_CHAIN, "**/XCUIElementTypeScrollView/XCUIElementTypeOther/XCUIElementTypeOther") ALBUMS_LIST_BY_POSITION = (MobileBy.IOS_CLASS_CHAIN, "**/XCUIElementTypeScrollView/XCUIElementTypeOther/XCUIElementTypeOther[{}]") ALBUMS_LIST_BY_TEXT = (MobileBy.IOS_CLASS_CHAIN, "**/XCUIElementTypeScrollView/XCUIElementTypeOther/XCUIElementTypeOther[`label == \"{}\"`]")