MCPcopy Create free account
hub / github.com/bugy/script-server / get_scripts_inside_group

Method get_scripts_inside_group

src/e2e_tests/common/pages.py:107–111  ·  view source on GitHub ↗
(self, group_link)

Source from the content-addressed store, hash-verified

105 return None
106
107 def get_scripts_inside_group(self, group_link):
108 try:
109 return get_parent_element(group_link).find_elements(By.CSS_SELECTOR, "a")
110 except (NoSuchElementException, ElementNotInteractableException):
111 return None
112
113 def get_random_script_link(self):
114 return random.choice(self.all_script_links)

Callers

nothing calls this directly

Calls 1

get_parent_elementFunction · 0.85

Tested by

no test coverage detected