I am trying to log in to apollo.io using seleniumbase
.
When I open the page the program should enter the email, password and click the log in button, but for some reason it doesn't enter the @
in the email. It enters only exampleemail.com
instead of [email protected]
.
What could be the reason for that?
Here is the code:
from seleniumbase import Driver import time # Your login credentials EMAIL = '[email protected]' PASSWORD = 'password123' URL = "https://app.apollo.io/#/lists/65d0e9cf01e8a200010c8eb2?page=1&sortAscending=false&sortByField=recommendations_score&contactEmailExcludeCatchAll=true" # Initialize WebDriver driver = Driver(uc=True, headless=False) driver.get(URL) # Wait for login form and fill credentials driver.wait_for_element("name=email", timeout=10) driver.type("name=email", EMAIL) driver.type("name=password", PASSWORD) # Click the login button driver.click('//button[contains(@class, "zp-button zp_GGHzP zp_ZUsLW")]') # Wait for redirection time.sleep(5) # Close driver driver.quit()