Playwright MCP Examples

  • Open the Apple website in Chromium.
  • Close Chromium and open the same site in Firefox.
  • Close Chrome and open the same site in Safari.
  • Open apple.com in Chromium, then in Firefox, then in WebKit.
  • Take a screenshot of the current page in Chrome.
  • Reload the page and capture console logs.
  • Open mobitru.com and scroll to the footer.
  • Click the ‘Buy iPhone’ button on the Apple homepage.
  • Type ‘MacBook’ in the search bar and press Enter.
  • Capture network requests to api.apple.com.
  • Save network requests.
  • Open a new browser tab and go to https://mobitru.com/pricing.
  • Switch to the first tab and refresh the page.
  • Close all tabs and end the Playwright session.
Scroll to Top