Skip to content

Add Automate onboarding skills: Selenium and Playwright for Java, Python, JavaScript and C# - #3

Open
yashraj-browserstack wants to merge 1 commit into
add-app-automate-appium-language-skillsfrom
add-automate-selenium-playwright-skills
Open

yashraj-browserstack wants to merge 1 commit into
add-app-automate-appium-language-skillsfrom
add-automate-selenium-playwright-skills

Conversation

@yashraj-browserstack

@yashraj-browserstack yashraj-browserstack commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #2 (App Automate). Merge #2 first; then this PR moves to main (if #2 is squash-merged, this branch gets rebased onto main so it shows only automate/ changes). This PR adds the Automate row to the Products table that #2 introduces in the root README.

What it adds

Eight onboarding skills for BrowserStack Automate, for the docs "Set up with AI" flow:

Java Python JavaScript C#
Selenium selenium-java selenium-python selenium-javascript selenium-csharp
Playwright playwright-java playwright-python playwright-javascript playwright-csharp

From one pasted prompt (listed in automate/README.md), a skill:

  1. Checks that it is the right skill for the project. Mobile app (Appium) projects go to the App Automate skills, and other languages or frameworks get the prompt for the matching skill.
  2. Saves itself into the agent's skills folder and checks that the download is complete.
  3. Checks the credentials (environment variables only), shows a plan, and waits for the user's OK.
  4. Runs BrowserStack's official sample, or moves the user's own tests to BrowserStack through the SDK without changing their test logic.
  5. Confirms the sessions on the BrowserStack API and returns the dashboard link.

Builds started by a skill are named bsk-automate-<skill>[-sample]-<timestamp>, and the skill tells the user so before the run.

How it is built

automate/*/SKILL.md and automate/README.md are generated from automate/_source/ (template.md, skills.json and parts/<skill>/) by automate/_source/build.py. To change a skill, edit the source and run python3 automate/_source/build.py. The new workflow, Automate skills up to date, runs build.py --check on pull requests and pushes to main that touch automate/.

Changes since the first review

  • One commit, no AI attribution.
  • license: removed from the frontmatter until the repository has a licence.
  • Customer-facing text reworded neutrally. The protective steps stay: log/ in .gitignore, the key masked in any quoted output, credentials in environment variables only, and results checked on the API.
  • No dated notes.
  • Docs links point to the public getting-started pages.
  • CI check for the generated files.
  • Playwright JavaScript: the skill still corrects one locator in the sample (exact: true), listed in the plan. The change is guarded, so it does nothing once the sample itself is fixed.

Tested

  • Sample build for all eight skills, end to end on BrowserStack, with every session passed and named on the API.
  • Own-tests path on fixture projects in all four languages, including Maven and Gradle (TestNG, JUnit 4 and JUnit 5), pytest, NUnit, xUnit and Playwright Test.
  • Real iPhone follow-up builds for the Playwright skills, and BrowserStack Local on Apple silicon.
  • Wrong-skill hand-offs (another language, an Appium project) with a coding agent.
  • After the rewording: the Playwright Python sample, run by a coding agent from the new prompt, passed on all three platforms (Windows Chrome and Firefox, macOS WebKit).
  • Not tested: Windows as the machine running the agent.

@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto (fallback from Default branch)
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited), Workspace UI (inherited); Enforced overrides: Organization
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: f9f5829e-6c5d-4c20-8dab-7216b5be283d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

…ipt and C#

Eight onboarding skills under automate/, one per framework and language.
From one pasted prompt, a skill checks that it matches the project,
saves itself into the agent's skills folder, shows a plan and waits for
the user's OK. It then runs BrowserStack's official sample or moves the
user's own tests to BrowserStack through the SDK, and confirms the
sessions on the BrowserStack API before reporting the dashboard link.
Mobile app (Appium) projects are handed to the App Automate skills.

The SKILL.md files and automate/README.md are generated from
automate/_source (template.md, skills.json and parts/) by
automate/_source/build.py. A workflow fails the check when they no
longer match.

Also adds Automate to the root README's Products table.
@yashraj-browserstack
yashraj-browserstack force-pushed the add-automate-selenium-playwright-skills branch from 7b7bfba to a3f6659 Compare December 3, 2026 13:39
@yashraj-browserstack
yashraj-browserstack changed the base branch from main to add-app-automate-appium-language-skills December 3, 2026 13:39
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.

1 participant