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

Linkedin auto apply + Separate selectors and browser automation code #1041

Closed
wants to merge 1 commit into from

Conversation

vishwamartur
Copy link

Related to #906

Move CSS and XPath selectors to separate files and separate browser automation code into LinkedIn and Easy Apply packages.

  • Selectors:

    • Add src/selectors.py to store CSS and XPath selectors for LinkedIn and Easy Apply pages.
    • Add src/config/selectors_linkedin.py and src/config/selectors_easy_apply.py to define selectors for LinkedIn and Easy Apply pages respectively.
  • LinkedIn Automation:

    • Add src/linkedin_automation.py for LinkedIn-specific browser automation.
    • Import selectors from src/config/selectors_linkedin.py.
    • Implement LinkedIn-specific automation logic including login, job search, job application, and logout.
  • Easy Apply Automation:

    • Add src/easy_apply_automation.py for Easy Apply-specific browser automation.
    • Import selectors from src/config/selectors_easy_apply.py.
    • Implement Easy Apply-specific automation logic including login, job search, job application, and logout.
  • Main File:

    • Modify main.py to import LinkedIn and Easy Apply automation modules.
  • LLM Manager:

    • Modify src/libs/llm_manager.py to remove embedded selectors and import selectors from src/config/selectors_linkedin.py and src/config/selectors_easy_apply.py.

Related to #906

Move CSS and XPath selectors to separate files and separate browser automation code into LinkedIn and Easy Apply packages.

* **Selectors**:
  - Add `src/selectors.py` to store CSS and XPath selectors for LinkedIn and Easy Apply pages.
  - Add `src/config/selectors_linkedin.py` and `src/config/selectors_easy_apply.py` to define selectors for LinkedIn and Easy Apply pages respectively.

* **LinkedIn Automation**:
  - Add `src/linkedin_automation.py` for LinkedIn-specific browser automation.
  - Import selectors from `src/config/selectors_linkedin.py`.
  - Implement LinkedIn-specific automation logic including login, job search, job application, and logout.

* **Easy Apply Automation**:
  - Add `src/easy_apply_automation.py` for Easy Apply-specific browser automation.
  - Import selectors from `src/config/selectors_easy_apply.py`.
  - Implement Easy Apply-specific automation logic including login, job search, job application, and logout.

* **Main File**:
  - Modify `main.py` to import LinkedIn and Easy Apply automation modules.

* **LLM Manager**:
  - Modify `src/libs/llm_manager.py` to remove embedded selectors and import selectors from `src/config/selectors_linkedin.py` and `src/config/selectors_easy_apply.py`.
@feder-cr feder-cr changed the title Separate selectors and browser automation code Libkedin auto apply + Separate selectors and browser automation code Jan 13, 2025
@feder-cr feder-cr changed the title Libkedin auto apply + Separate selectors and browser automation code Linkedin auto apply + Separate selectors and browser automation code Jan 13, 2025
@vishwamartur vishwamartur closed this by deleting the head repository Jan 17, 2025
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