Skip to content

fix: use partial match for post visibility option selectors (#591)#601

Merged
sigvardt merged 1 commit intomainfrom
ai/issue-591-bug-post-creation-fails-due-to-postvisibilityoptio
Mar 21, 2026
Merged

fix: use partial match for post visibility option selectors (#591)#601
sigvardt merged 1 commit intomainfrom
ai/issue-591-bug-post-creation-fails-due-to-postvisibilityoptio

Conversation

@sigvardt
Copy link
Owner

Summary

Resolves #591.

LinkedIn recently updated their "Anyone" post visibility option label to include additional descriptive text (e.g., "Anyone on or off LinkedIn") inside the radio button / label element. The previous { exact: true } exact-match regex caused automation to fail to find this option.

Changes

  • Removed { exact: true } from buildLinkedInSelectorPhraseRegex and formatLinkedInSelectorRegexHint in createVisibilityOptionCandidates.
  • The automation will now match any visibility option containing the "Anyone" text (or localized equivalents) instead of requiring an exact, character-perfect match.

Closes #591

@sigvardt sigvardt enabled auto-merge (squash) March 21, 2026 18:25
@sigvardt sigvardt merged commit ff70462 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: post creation fails due to post_visibility_option selector change

1 participant