Skip to main content

Examples of browser automation

Lets see how we can use the power of Playwright MCP Server to automate our browser and do webscrapping

Scenario in BDD Format

Given I navigate to website http://eaapp.somee.com and click login link
And I enter username and password as "admin" and "password" respectively and perform login
Then click the Employee List page
And click "Create New" button and enter realistic employee details to create for Name, Salary, DurationWorked,
Select dropdown for Grade as CLevel and Email.

Once I enter the above text in Claude Desktop Client I should see Claude desktop giving me prompt to perform operation by opening real browser like this

Playwright MCP Server

And once the entire test operation completes, we will be presented with the entire details of how the automation did happened.

Playwright MCP Server