Skip to content

KriyaShah050802/Playwright_Py-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages