What you need
- A Samelogic account and project
- The Chrome Extension installed
- Access to the environment you want to capture (prod, staging, or test)
Install and sign in
- Install the Chrome Extension from the Chrome Web Store.
- Sign in with your Samelogic account.
- Select the project where captures should land.
Capture an element
- Open the target page in Chrome.
- Click the Chrome Extension icon and start capture mode.
- Hover to preview the highlight and confirm the right element.
- Click to capture the element and its hierarchy.
- Review selectors and stability score before saving.
Review selector quality
Stable selectors reduce flaky tests and regressions.- Prefer data attributes (
data-testid,data-qa) when available. - Avoid dynamic classes that change per build.
- Use fallback selectors when the stability score is low.
Add context before saving
Add enough detail so other teams can reproduce the issue quickly.- Name the element clearly (feature + location).
- Add tags for product area or release.
- Attach notes describing the behavior you observed.
Save and share
- Save to the correct project or workspace.
- Share the element link in a ticket or Slack thread.
- Attach to a bug report if you are in triage.
Best practices
- Capture from stable environments when possible.
- Use consistent naming conventions across teams.
- Keep captures focused on the smallest element that reproduces the issue.
Troubleshooting
- If capture fails, check for iframe or cross-origin restrictions.
- If selectors are unstable, add or request data-test attributes.
- If the overlay is misaligned, try a hard refresh and retry.