SeleniumHQ / SeleniumHQ/seleniumhq.github.io

[🚀 Feature]: Guidelines for creating code samples

Open
#2,246 2 comments 0 reactions 2 assignees View on GitHub

@rpallavisharma is already working on this.

Since Mar 26, 2025.

enhancement needs-triaging
Dominant language
HTML
Stars
1.4k
Forks
1.6k
Avg merge
18h 3m
Merged PRs (30d)
56

Description

Feature and motivation
  1. Ensure that all code samples use https://www.selenium.dev/selenium/web for testing, and include this requirement in the contributing guidelines.
  2. Decide whether assertions should be displayed in the documentation.
  3. If multiple lines need to be rendered within a single code block, enable the appropriate lines for display using the available printing from this reference.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.