Merge branch 'v3' into v3
This commit is contained in:
commit
0f48cb1e1e
27 changed files with 1293 additions and 46 deletions
|
|
@ -39,6 +39,9 @@ class LinkedInAuthenticator:
|
|||
def handle_login(self):
|
||||
logger.info("Navigating to the LinkedIn login page...")
|
||||
self.driver.get("https://www.linkedin.com/login")
|
||||
if 'feed' in self.driver.current_url:
|
||||
print("User is already logged in.")
|
||||
return
|
||||
try:
|
||||
self.enter_credentials()
|
||||
self.submit_login_form()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue