""" Gmail/Google Account UI Selektoren und URLs """ # URLs BASE_URL = "https://accounts.google.com/" REGISTRATION_URL = "https://workspace.google.com/intl/de/gmail/" LOGIN_URL = "https://accounts.google.com/ServiceLogin" # Name Eingabe (Erster Schritt) FIRST_NAME_INPUT = "input[name='firstName']" LAST_NAME_INPUT = "input[name='lastName']" NEXT_BUTTON = "button[jsname='LgbsSe']" NEXT_BUTTON_SPAN = "span:has-text('Weiter')" NEXT_BUTTON_MATERIAL = "div.VfPpkd-RLmnJb" # Material Design Weiter-Button # Geburtsdatum und Geschlecht BIRTHDAY_DAY = "input[name='day']" BIRTHDAY_MONTH = "select[name='month']" BIRTHDAY_YEAR = "input[name='year']" GENDER_SELECT = "select[name='gender']" # Gmail-Adresse erstellen CREATE_GMAIL_RADIO = "div[data-value='createAccount']" GMAIL_USERNAME_INPUT = "input[name='Username']" # Passwort PASSWORD_INPUT = "input[name='Passwd']" PASSWORD_CONFIRM_INPUT = "input[name='PasswdAgain']" # Telefonnummer Verifizierung PHONE_INPUT = "input[id='phoneNumberId']" PHONE_COUNTRY_SELECT = "select[data-id='countryList']" # SMS Verifizierung SMS_CODE_INPUT = "input[name='code']" VERIFY_BUTTON = "button:has-text('Bestätigen')" # Recovery Email (Optional) RECOVERY_EMAIL_INPUT = "input[name='recoveryEmail']" SKIP_BUTTON = "button:has-text('Überspringen')" # Nutzungsbedingungen AGREE_BUTTON = "button:has-text('Ich stimme zu')" TERMS_CHECKBOX = "input[type='checkbox']" # Fehler- und Erfolgsmeldungen ERROR_MESSAGE = "div[jsname='B34EJ'] span" ERROR_MESSAGE_ALT = "div.LXRPh" CAPTCHA_CONTAINER = "div.aCsJod" # Login Seite LOGIN_EMAIL_INPUT = "input[type='email']" LOGIN_PASSWORD_INPUT = "input[type='password'][name='password']" LOGIN_NEXT_BUTTON = "button:has-text('Weiter')" # Allgemeine Elemente LOADING_SPINNER = "div.ANuIbb" FORM_ERROR = "div[jsname='B34EJ']"