Skip to content

AttributeError: 'WebDriver' object has no attribute 'find_element_by_css_selector' in "ProfileScraper.py" #110

Open
@Tarunika03

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions