MCPcopy Index your code
hub / github.com/xtekky/TikTok-ViewBot / wait_for_xpath

Method wait_for_xpath

test.py:190–196  ·  view source on GitHub ↗
(self, xpath)

Source from the content-addressed store, hash-verified

188 ctypes.windll.kernel32.SetConsoleTitleW(arg)
189
190 def wait_for_xpath(self, xpath):
191 while True:
192 try:
193 f = self.driver.find_element('xpath', xpath)
194 return True
195 except selenium.common.exceptions.NoSuchElementException:
196 pass
197
198if __name__ == "__main__":
199 obj = zefoy()

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected