diff --git a/fb_marketplace/fb_marketplace_products.py b/fb_marketplace/fb_marketplace_products.py index 1251224..5fb0cb1 100644 --- a/fb_marketplace/fb_marketplace_products.py +++ b/fb_marketplace/fb_marketplace_products.py @@ -55,7 +55,8 @@ class FbMarketplaceProducts: ####### Scroll down using Page Down key html_element = self.driver.find_element(By.TAG_NAME, 'html') - for _ in range(1000): + for x in range(300): + logging.info("Pagedown count: {}".format(x)) html_element.send_keys(Keys.PAGE_DOWN) time.sleep(random.randint(1,3))