Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LinkedIn scraper to wait for presence of grid elements #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alecavallo
Copy link

The current implementation of the "Company" component was consistently failing due to the WebDriverWait condition for the //span[@dir="ltr"] element. This element has been removed from the webpage, causing the wait to time out.

To address this issue, I've introduced a new WebDriverWait condition using a CSS selector: div.scaffold-finite-scroll__content > ul > li.grid. This selector accurately targets the desired element on the page, ensuring that the component waits for the correct element to be present before proceeding.

Changes:

  • Added: New WebDriverWait condition using a CSS selector.
  • Removed: Outdated WebDriverWait condition for the //span[@dir="ltr"] element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant