Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Readme.md

Example Playwright Python Project with Playwright Service Workspace

How to use this example

  • Clone the repository and navigate to the project folder
  • pip install -r requirements.txt
  • Create a Playwright workspace by following the Getting Started guide
  • Follow the Getting Started guidance and set the regional endpoint environment variable
$env:PLAYWRIGHT_SERVICE_URL="wss://...."
  • Generate access token following guide
  • Set the token generated in the previous step
$env:PLAYWRIGHT_SERVICE_ACCESS_TOKEN="TOKEN_VALUE"
  • Run the example script
python main.py