diff --git a/src/linkedIn_authenticator.py b/src/linkedIn_authenticator.py index c953e5a..f6ec301 100644 --- a/src/linkedIn_authenticator.py +++ b/src/linkedIn_authenticator.py @@ -71,7 +71,7 @@ class LinkedInAuthenticator: EC.presence_of_element_located((By.CLASS_NAME, 'share-box-feed-entry__trigger')) ) buttons = self.driver.find_elements(By.CLASS_NAME, 'share-box-feed-entry__trigger') - if any(button.text.strip() == 'Start a post' for button in buttons): + if any(button.text.strip() == 'Start a post, try writing with AI' for button in buttons): print("User is already logged in.") return True except TimeoutException: