Skip to content

pushpamca555/PlaywrightLambdatestSubmission

Repository files navigation

LambdaTest Certification - Playwright (PYTHON)

This project was created to meet the challenge of Lambdatest certification with Playwright, Python and running the LambdaTest platform with GitPod to execute the project.

Prerequisites

Configure environment variables

To run the test on the LambdaTest platform remotely, you need to configure the environment variables which are in the settings.py file (LN11 / LN12)

image


  • Inside LambdaTest in the "Automation" tab, click on "Access Key"

image

  • Configure the environment variables on your machine with the LambdaTest values
export LT_USERNAME="<Username>"
export LT_ACCESS_KEY="<Access Key>"

Run the project with Gitpod

# Run tests serial mode
pytest test_playwright.py

# run tests parallel mode
pytest test_playwright.py -n 3

Local Installation and Run

# Clone repository
git clone https://github.com/WallPetrucci/LambdaTestPlaywrightCertification

# Enter the project directory
cd LambdaTestPlaywrightCertification

# Install dependencies
pip install -r requirements.txt
playwright install-deps
playwright install

# Run tests serial mode
pytest test_playwright.py

# Run tests parallel mode
pytest test_playwright.py -n 3

Any questions? Contact us!

Wallace - Linkedin: https://www.linkedin.com/in/wallacepetrucci - [email protected]

Project Link: https://github.com/WallPetrucci/LambdaTestPlaywrightCertification

About

Created for Understanding of Playwright concepts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages