Skip to content

docs(quickstart): some improvements#125

Open
swordqueen wants to merge 10 commits intomasterfrom
users/kseniataranov/DOCORG-6752.quickstart-ideas
Open

docs(quickstart): some improvements#125
swordqueen wants to merge 10 commits intomasterfrom
users/kseniataranov/DOCORG-6752.quickstart-ideas

Conversation

@swordqueen
Copy link
Copy Markdown
Collaborator

No description provided.

kseniataranov added 9 commits March 23, 2026 08:16
- Add links to reference sections for methods (browser.url, browser.openAndWait, $)
- Add examples of different selector types (CSS, text, XPath) with recommendations
- Expand --grep section with regex examples and .only() alternative
- Add tips on selector priority and best practices
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 30, 2026

✅ Successfully deployed static

Copy link
Copy Markdown
Member

@shadowusr shadowusr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В целом все супер. Статья почти готова к влитию. Можно пофиксить минорные замечания ниже и вливать. Я ок поставил

⚠️ Не забыть синкнуть изменения в английскую версию

describe("Типы селекторов", () => {
it("CSS-селекторы", async ({ browser }) => {
// Рекомендуется: data-атрибуты (стабильны, не зависят от верстки)
const button = await browser.$('[data-testid="submit-button"]');
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

я бы тут (и в остальных местах) показывал сразу 2 варианта поиска — текущий и browser.findByTestId()

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.

3 participants