예제 #1
0
파일: base.py 프로젝트: ch-t/ggrc-core
 def get_items(self):
     """Return list of items object. Class of item selected according to
 "self.item_class" property.
 """
     if not self._items:
         items_elements = selenium_utils.get_nested_elements(
             self.list_element)
         self._items = [
             self.item_class(self._driver, el) for el in items_elements
         ]
     return self._items
예제 #2
0
파일: tables.py 프로젝트: Smotko/ggrc-core
 def get_cells(self, row):
   """Split any row by getting first-level child WebElement.
   Return list of WebElement: [WebElement, WebElement ...]
   """
   return selenium_utils.get_nested_elements(row)
예제 #3
0
 def get_cells(self, row):
     """Split any row by getting first-level child WebElement.
 Return list of WebElement: [WebElement, WebElement ...]
 """
     return selenium_utils.get_nested_elements(row)