Skip to content

fix #597: update profile photo and banner upload selectors#607

Merged
sigvardt merged 1 commit intomainfrom
ai/issue-597-bug-profile-photo-and-banner-upload-selectors-are-
Mar 21, 2026
Merged

fix #597: update profile photo and banner upload selectors#607
sigvardt merged 1 commit intomainfrom
ai/issue-597-bug-profile-photo-and-banner-upload-selectors-are-

Conversation

@sigvardt
Copy link
Owner

Summary

Fixes the bug reported in #597 where the automation failed to find the LinkedIn profile photo and background photo upload controls due to LinkedIn UI updates.

Changes

  • Expanded PROFILE_MEDIA_STRUCTURAL_SELECTORS to include aria-label attribute matching for both profile photo and banner upload controls (handles internationalization properly by building a case-insensitive regex).
  • Added .pv-top-card-profile-picture__container [role='button'], .pv-top-card-profile-picture__image, and related fallback locators to capture various structural layouts for the photo.
  • Added .profile-background-image [role='button'], .profile-background-image__image, and generic aria-label fallback for the banner/background photo.

Closes #597

@sigvardt sigvardt enabled auto-merge (squash) March 21, 2026 19:43
@sigvardt sigvardt merged commit 686b8ec into main Mar 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: profile photo and banner upload selectors are broken

1 participant