Skip to content

Bug: post creation fails due to post_visibility_option selector change #591

@sigvardt

Description

@sigvardt

Bug: linkedin post confirm fails due to post_visibility_option selector not found

When confirming a prepared post with visibility: public, the automation fails to find the visibility option selector in the LinkedIn UI.

Error Output

{
  "code": "UI_CHANGED_SELECTOR_FAILED",
  "message": "Could not locate LinkedIn selector group \"post_visibility_option\".",
  "details": {
    "selector_key": "post_visibility_option",
    "current_url": "https://www.linkedin.com/feed/",
    "attempted_selectors": [
      "getByRole(radio, /^(?:Anyone)$/iu)",
      "getByRole(button, /^(?:Anyone)$/iu)",
      "label hasText /^(?:Anyone)$/iu",
      "[role='radio'], button, label, li hasText /^(?:Anyone)$/iu"
    ]
  }
}

Context

LinkedIn may have updated the post visibility selection modal or the text matching Anyone is no longer the correct English or localized label for "public" visibility. The selector post_visibility_option needs to be audited and updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions