mirror of https://github.com/aliasrobotics/cai.git
fix bug in bot to retrieve labs urls
This commit is contained in:
parent
9b5b91828d
commit
649bfa970b
|
|
@ -100,6 +100,8 @@ class Bot():
|
|||
#Go to sections urls
|
||||
self.driver.get(f'{self.LABS_URL}{topic_name}')
|
||||
|
||||
self.__wait_random_time(min_seconds=5, max_seconds=7)
|
||||
|
||||
#Find all <a> elements that have the topic prefix in the href
|
||||
links = self.driver.find_elements(By.CLASS_NAME, 'flex-columns')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue