Testing
import pandas as pd import time import os from selenium import webdriver from selenium.webdriver.chrome.service import Service from webdriver_manager.chrome import ChromeDriverManager from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC EXCEL_FILE = r'C:\WhatsAppSender\contacts.xlsx' PDF_FOLDER = r'C:\WhatsAppSender\pdfs' df = pd.read_excel(EXCEL_FILE) options = webdriver.ChromeOptions() options.add_argument("--no-sandbox") options.add_argument("--disable-dev-shm-usage") options.add_argument("--disable-gpu") options.add_argument("--window-size=1366,768") options.add_argument("--log-level=3") options.add_argument("--remote-debugging-port=9222") options.add_argument("--disable-blink-features=AutomationControlled") service = Service(ChromeDriverManager().install()) driver = webdriver.Chrome(ser...