def work_assignment(self):
"""Work an assignment."""
if '/courses/' not in self.current_url():
self.find(By.XPATH, '//a[contains(@class,"na")]')
self.wait.until(
expect.element_to_be_clickable((By.LINK_TEXT, 'All Past Work'))
)
raise NotImplementedError(inspect.currentframe().f_code.co_name)
评论列表
文章目录