FIX crash during ad overview page scan

This commit is contained in:
Philipp K
2022-12-15 17:28:48 +01:00
committed by Sebastian Thomschke
parent 45fd4bac9f
commit d08b335351

View File

@@ -194,7 +194,8 @@ class AdExtractor(SeleniumMixin):
# collect ad references:
pagination_section = self.webdriver.find_element(By.CSS_SELECTOR, 'section.jsx-1105488430:nth-child(4)')
pagination_section = self.webdriver.find_element(By.CSS_SELECTOR, '.l-splitpage')\
.find_element(By.XPATH, './/section[4]')
# scroll down to load dynamically
self.web_scroll_page_down()
pause(2000, 3000)