Repository navigation
Add tested JavaScript examples for frames - #3020
Open
TOMASEZARATE wants to merge 3 commits into
Open
TOMASEZARATE wants to merge 3 commits into
TOMASEZARATE wants to merge 3 commits into
Conversation
Assisted-by: Cursor Agent with Grok 4.7
👷 Deploy request for selenium-dev pending review.Visit the deploys page to approve it
|
Contributor
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Member
|
@TOMASEZARATE please use seperate PRs for each language submission. |
Assisted-by: Cursor Agent with Grok 4.7
Author
|
Thanks @rpallavisharma , makes sense! I moved the Kotlin examples out of this PR, so it now only has the JavaScript ones. Kotlin is in #3025. |
Member
|
@SeleniumHQ/selenium-tlc please see for merge. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for contributing to the Selenium site and documentation!
A PR well described will help maintainers to review and merge it quickly
Description
Part of #2890
The frames page already pulled its Java, Python, C# and Ruby examples from tests, but JavaScript still had inline snippets against a sample
#modal/buttonframeiframe. This addsexamples/javascript/test/interactions/frames.spec.js, which runs againstiframes.htmland covers switching by element, by id, by name and by index, plus going back to the default content. The page now usesgh-codeblockfor the JavaScript tabs in en, ja, pt-br and zh-cn.The "This won't work" block stays inline in every language, since it illustrates the static HTML above it and there's no test page for it.
Kotlin was split out into #3025 so each language has its own PR.
Motivation and Context
Inline snippets can drift from the API, so #2890 moves examples into tested code.
Types of changes
Checklist
I used an AI assistant (Cursor Agent with Grok 4.7) while writing this change. I reviewed the code myself, and the commit has an Assisted-by trailer.