Facebook - Workflow geht aber Popup nicht da mit Browser nicht anbtouchen
Dieser Commit ist enthalten in:
@ -29,27 +29,34 @@ class FacebookSelectors:
|
||||
LOGIN_BUTTON_ALT = "button[data-testid='royal_login_button']"
|
||||
|
||||
# ===== REGISTRATION FORM =====
|
||||
# Name fields
|
||||
# Name fields - Updated based on actual HTML
|
||||
REG_FIRSTNAME_FIELD = "input[name='firstname']"
|
||||
REG_FIRSTNAME_FIELD_ALT = "input[aria-label='Vorname']"
|
||||
REG_LASTNAME_FIELD = "input[name='lastname']"
|
||||
REG_LASTNAME_FIELD_ALT = "input[aria-label='Nachname']"
|
||||
|
||||
# Birthday selects
|
||||
# Birthday selects - Updated with correct selectors
|
||||
REG_BIRTHDAY_DAY = "select[name='birthday_day']"
|
||||
REG_BIRTHDAY_DAY_ALT = "select#day"
|
||||
REG_BIRTHDAY_MONTH = "select[name='birthday_month']"
|
||||
REG_BIRTHDAY_MONTH_ALT = "select#month"
|
||||
REG_BIRTHDAY_YEAR = "select[name='birthday_year']"
|
||||
REG_BIRTHDAY_YEAR_ALT = "select#year"
|
||||
|
||||
# Gender radio buttons
|
||||
REG_GENDER_FEMALE = "input[name='sex'][value='1']"
|
||||
REG_GENDER_MALE = "input[name='sex'][value='2']"
|
||||
REG_GENDER_CUSTOM = "input[name='sex'][value='-1']"
|
||||
# Gender radio buttons - Updated with correct values
|
||||
REG_GENDER_FEMALE = "input[name='sex'][value='1']" # Weiblich
|
||||
REG_GENDER_MALE = "input[name='sex'][value='2']" # Männlich
|
||||
REG_GENDER_CUSTOM = "input[name='sex'][value='-1']" # Divers
|
||||
|
||||
# Contact info
|
||||
# Contact info - Updated based on actual HTML
|
||||
REG_EMAIL_OR_PHONE = "input[name='reg_email__']"
|
||||
REG_EMAIL_OR_PHONE_ALT = "input[aria-label='Handynummer oder E-Mail-Adresse']"
|
||||
REG_EMAIL_CONFIRM = "input[name='reg_email_confirmation__']" # Erscheint wenn Email eingegeben
|
||||
|
||||
# Password
|
||||
# Password - Updated with correct selectors
|
||||
REG_PASSWORD = "input[name='reg_passwd__']"
|
||||
REG_PASSWORD_ALT = "input#password_step_input"
|
||||
REG_PASSWORD_ALT2 = "input[aria-label='Neues Passwort']"
|
||||
|
||||
# Submit button
|
||||
REG_SUBMIT_BUTTON = "button[name='websubmit']"
|
||||
@ -57,8 +64,10 @@ class FacebookSelectors:
|
||||
REG_SUBMIT_BUTTON_EN = "button:has-text('Sign Up')"
|
||||
|
||||
# ===== EMAIL VERIFICATION =====
|
||||
# Updated for 5-digit code based on actual HTML
|
||||
VERIFICATION_CODE_INPUT = "input#code_in_cliff"
|
||||
VERIFICATION_CODE_INPUT_ALT = "input[name='code']"
|
||||
VERIFICATION_CODE_INPUT_ALT2 = "input[maxlength='5']" # 5-stelliger Code
|
||||
VERIFICATION_CONTINUE_BUTTON = "button:has-text('Weiter')"
|
||||
VERIFICATION_CONTINUE_BUTTON_EN = "button:has-text('Continue')"
|
||||
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren