Skip to content

Creating a sample repo for different Playwright languages and runners

Notifications You must be signed in to change notification settings

browserstack/pytest-playwright-browserstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytest-playwright-browserstack

Playwright with PyTest Test runner Integration with BrowserStack.

BrowserStack Logo

Prerequisite

  • Python3

Setup

  • Clone the repo
  • Install dependencies pip install -r requirements.txt
  • To run your automated tests using BrowserStack, you must provide a valid username and access key. This can be done adding your userName and accesKey in the browserstack.yml file.
  • You can also set the credentials in BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY environment variables.

Run sample tests

  • To run tests, run browserstack-sdk pytest -s tests/sample-test.py
  • To run local tests, run browserstack-sdk pytest -s tests/sample-local-test.py.

Understand how many parallel sessions you need by using our Parallel Test Calculator

Notes

About

Creating a sample repo for different Playwright languages and runners

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages