@@ -751,15 +751,31 @@ const PROFILE_MEDIA_LABELS = {
751751
752752export const PROFILE_MEDIA_STRUCTURAL_SELECTORS = {
753753 photo : [
754+ "[aria-label*='profile photo' i]" ,
755+ "[aria-label*='Profilbillede' i]" ,
754756 "button.profile-photo-edit__edit-btn" ,
755757 ".profile-photo-edit button" ,
756758 ".pv-top-card__photo-wrapper .profile-photo-edit button" ,
757- ".pv-top-card__edit-photo button"
759+ ".pv-top-card__edit-photo button" ,
760+ ".pv-top-card-profile-picture__container button" ,
761+ ".pv-top-card-profile-picture__container [role='button']" ,
762+ ".pv-top-card-profile-picture__edit-button" ,
763+ ".pv-top-card-profile-picture__image"
758764 ] ,
759765 banner : [
766+ "[aria-label*='background photo' i]" ,
767+ "[aria-label*='cover image' i]" ,
768+ "[aria-label*='Baggrundsbillede' i]" ,
769+ "[aria-label*='forsidebillede' i]" ,
770+ "[data-control-name='edit_profile_background_image']" ,
760771 ".profile-topcard-background-image-edit__icon button" ,
761772 ".profile-topcard-background-image-edit__button button" ,
762- "[id^='cover-photo-dropdown-button-trigger-']"
773+ "[id^='cover-photo-dropdown-button-trigger-']" ,
774+ ".profile-background-image__edit-button" ,
775+ ".profile-background-image__image-container button" ,
776+ ".profile-background-image button" ,
777+ ".profile-background-image [role='button']" ,
778+ ".profile-background-image__image"
763779 ]
764780} as const ;
765781
0 commit comments