Amazing-Python-Scripts

Форк
0

README.md

Auto Linkedin

  • It imports the necessary modules:

    • webdriver from Selenium to control the web browser,
    • Keys from Selenium to handle keyboard keys, and pyautogui as pag to simulate mouse clicks.
  • The main() function sets up the Selenium WebDriver with the Chrome browser and opens the LinkedIn website.

  • The login() function finds the login elements on the LinkedIn page and enters the provided username and password.

  • It also clicks the submit button to log in.

  • The goto_network() function clicks on the "My Network" tab on the LinkedIn page.

  • The send_requests() function prompts the user to enter the number of connection requests they want to send.

  • It then uses the PyAutoGUI library to simulate mouse clicks on the connection button (at the specified position) the specified number of times.

  • Install this before running :

    1. pip install selenium
    2. pip install pyautogui

Once you have installed the necessary libraries and downloaded the Chrome WebDriver, you should be able to run the code successfully.

Thanks for using this program

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.