Skip to content

Latest commit

 

History

History
70 lines (35 loc) · 1.76 KB

README.md

File metadata and controls

70 lines (35 loc) · 1.76 KB

Web Automation With Playwright On Cloud

Execute your Playwright automated test across 3000 + browsers, devices and platform.

Pre-requisites

Node.js (Node.js 18.x and above is recommended)

Feel free to use any OS

Windows - Windows 10+, Windows Server 2016+ or Windows Subsystem for Linux (WSL).

MAC - MacOS 12 Monterey, MacOS 13 Ventura, or MacOS 14 Sonoma.

Linux - Debian 11, Debian 12, Ubuntu 20.04 or Ubuntu 22.04, with x86-64 or arm64 architecture.

Git - Any version

Getting Started

Create Your Own LambdatTest Account

Clone This Repository

Capability Generator

git clone https://github.com/Mukesh-50/playwright-testing-on-cloud.git

Execute the test

Get your username and access key from lambdatest and replace in "login.spec.js" file

You can get username and access key from capability generator or from account seetings.

Set LT_USERNAME and LT_ACCESS_KEY in environment variable

Windows
set LT_USERNAME="YOUR_LAMBDATEST_USERNAME"
set LT_ACCESS_KEY="YOUR_LAMBDATEST_ACCESS_KEY"


MAC and Linux
export LT_USERNAME="YOUR_LAMBDATEST_USERNAME"
export LT_ACCESS_KEY="YOUR_LAMBDATEST_ACCESS_KEY"

Capability Generator


Account Settings

Execute below command

  cd PlaywrightLT

  npx playwright test