Loading lib/galaxy/selenium/components.py +16 −2 Original line number Diff line number Diff line Loading @@ -12,10 +12,24 @@ from typing import ( Union, ) from selenium.webdriver.common.by import By from galaxy.util.bunch import Bunch class By: """ Set of supported locator strategies. """ ID = "id" XPATH = "xpath" LINK_TEXT = "link text" PARTIAL_LINK_TEXT = "partial link text" NAME = "name" TAG_NAME = "tag name" CLASS_NAME = "class name" CSS_SELECTOR = "css selector" LocatorT = Tuple[By, str] Loading Loading
lib/galaxy/selenium/components.py +16 −2 Original line number Diff line number Diff line Loading @@ -12,10 +12,24 @@ from typing import ( Union, ) from selenium.webdriver.common.by import By from galaxy.util.bunch import Bunch class By: """ Set of supported locator strategies. """ ID = "id" XPATH = "xpath" LINK_TEXT = "link text" PARTIAL_LINK_TEXT = "partial link text" NAME = "name" TAG_NAME = "tag name" CLASS_NAME = "class name" CSS_SELECTOR = "css selector" LocatorT = Tuple[By, str] Loading