🚀 SpeedwayTech Playwright All Methods Practice Page

Learn • Practice • Automate • Validate

2️⃣ Keyboard & Input Methods

Practice: fill(), clear(), press(), focus(), blur()

Username

Password

Search Using Enter Key

Search Result: None

Comments

3️⃣ Mouse Methods

Practice: click(), dblclick(), hover(), right click

Single Click

Click Result: None

Double Click

Double Click Me
Double Click Result: None

Right Click

Right Click Me
Right Click Result: None

Hover

Welcome to SpeedwayTech!

4️⃣ Checkbox Methods

Practice: check(), uncheck(), isChecked(), toBeChecked()

5️⃣ Radio Button Methods

Practice radio selection using: check(), isChecked(), toBeChecked()

6️⃣ Single Select Dropdown

Practice: selectOption() using value, label and index.

7️⃣ Multiple Select Dropdown

Practice selecting multiple options using selectOption([]).

8️⃣ Custom Dropdown - Without select Tag

Practice custom dropdown handling using click() and locators.

Pune
Mumbai
Delhi
Hyderabad
Bangalore
Selected City: None

9️⃣ ARIA Custom Dropdown

Practice: getByRole('combobox') and getByRole('option').

Chrome
Firefox
Safari
Edge
Selected Browser: None

🔟 Element Text Methods

Practice: textContent(), innerText(), toHaveText(), toContainText()

Welcome to SpeedwayTech Playwright Automation Training

Employee Name: Rahul | Role: Automation Tester

1️⃣1️⃣ Value & Attribute Methods

Practice: inputValue(), getAttribute(), toHaveValue(), toHaveAttribute()


1️⃣2️⃣ Element State Methods

Practice: isVisible(), isEnabled(), isChecked(), toBeEnabled(), toBeDisabled()


1️⃣3️⃣ Multiple Element Methods

Practice: count(), first(), last(), nth(), filter()

Laptop

₹50,000

Mobile

₹25,000

Tablet

₹35,000

Headphones

₹5,000

1️⃣4️⃣ Visibility Methods

Practice: isVisible(), waitFor(), toBeVisible(), toBeHidden()

🎉 Playwright Automation Message Is Visible!

1️⃣5️⃣ File Upload

Practice: setInputFiles()

No file selected

1️⃣6️⃣ Alerts & Dialogs

Practice: accept(), dismiss(), message(), prompt()

Dialog Result: None

1️⃣7️⃣ iFrame Handling

Practice: frameLocator()

1️⃣8️⃣ New Tab / Popup

Practice: waitForEvent('page')

Open Playwright Website in New Tab

1️⃣9️⃣ File Download

Practice: waitForEvent('download')

2️⃣0️⃣ Drag and Drop

Practice: dragTo()

Drag Me
Drop Here
Drag Result: Not Completed

2️⃣1️⃣ Assertion Practice

Practice: toBeVisible(), toHaveText(), toContainText(), toHaveValue(), toHaveAttribute(), toBeEnabled()

Playwright Assertion Demo

Welcome to Playwright Automation

2️⃣2️⃣ Complete Form Action

Practice: Locator → Action → Assertion



Form Status: Not Submitted