Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

webapp-testing-assertion-examples

FreeNo executable scriptsNot checked

Sub-skill of webapp-testing: Assertion Examples (+1).

vamseeachantaby vamseeachanta★ 21 GitHub stars

About this skill

Assertion Examples (+1)

Assertion Examples

from playwright.sync_api import expect

# Text content
expect(page.locator("h1")).to_have_text("Welcome")

# Visibility
expect(page.locator(".modal")).to_be_visible()
expect(page.locator(".loading")).to_be_hidden()


*See sub-skills for full details.*

## Test Structure


```python
import pytest
from playwright.sync_api import sync_playwright

@pytest.fixture(scope="session")
def browser():
    with sync_playwright() as p:
        browser = p.chromium.launch()
        yield browser
        browser.close()

*See sub-skills for full details.*

Install webapp-testing-assertion-examples in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the webapp-testing-assertion-examples skill do?

Sub-skill of webapp-testing: Assertion Examples (+1).

How do I install the webapp-testing-assertion-examples skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the webapp-testing-assertion-examples skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare webapp-testing-assertion-examples with