AttributeError: 'WebDriver' object has no attribute 'find_element_by_css_selector' in "ProfileScraper.py" #110
Open
Description
in ProfileScraper.get_profile(self)
91 def get_profile(self):
92 try:
---> 93 profile = self.driver.find_element_by_css_selector(
94 self.MAIN_SELECTOR).get_attribute("outerHTML")
95 except Exception as e:
96 logger.exception(
97 "Could not find profile wrapper html. This sometimes happens for exceptionally long profiles. Try decreasing scroll-increment. The actual error was: %s", e)
AttributeError: 'WebDriver' object has no attribute 'find_element_by_css_selector'
Metadata
Assignees
Labels
No labels