SeleniumHQ / seleniumhq.github.io

Official Selenium website and documentation
https://selenium.dev
Apache License 2.0
1.03k stars 1.23k forks source link

Update first_script.en.md #1780

Open darrenqchen opened 3 weeks ago

darrenqchen commented 3 weeks ago

User description

In step 7 for Python, the code block is missing line 18 from examples/python/tests/getting_started/first_script.py which creates the message variable. This way people that are following along the "getting_started" tutorial won't be as confused.

Thanks for contributing to the Selenium site and documentation! A PR well described will help maintainers to review and merge it quickly

Before submitting your PR, please check our contributing guidelines. Avoid large PRs, and help reviewers by making them as simple and short as possible.

Description

Motivation and Context

Types of changes

Checklist


PR Type

Documentation


Description


Changes walkthrough ๐Ÿ“

Relevant files
Documentation
first_script.en.md
Fix missing line in Python code block for tutorial             

website_and_docs/content/documentation/webdriver/getting_started/first_script.en.md
  • Updated Python code block reference to include line 18.
  • Ensured the creation of the message variable is included in the
    tutorial.
  • +1/-1     

    ๐Ÿ’ก PR-Agent usage: Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    netlify[bot] commented 3 weeks ago

    Deploy request for selenium-dev pending review.

    Visit the deploys page to approve it

    Name Link
    Latest commit 59b19e95a9fa7074e2a07eade18a7ec322cf42e7
    CLAassistant commented 3 weeks ago

    CLA assistant check
    All committers have signed the CLA.

    codiumai-pr-agent-pro[bot] commented 3 weeks ago

    PR Reviewer Guide ๐Ÿ”

    โฑ๏ธ Estimated effort to review [1-5] 1
    ๐Ÿงช Relevant tests No
    ๐Ÿ”’ Security concerns No
    โšก Key issues to review None
    codiumai-pr-agent-pro[bot] commented 3 weeks ago

    PR Code Suggestions โœจ

    No code suggestions found for PR.

    darrenqchen commented 3 weeks ago

    Found this error since I was trying to do the tutorial myself for the first time.