Skip to content

swuecho/pywright

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pull docker image

docker pull echowuhao/pywright

config in docker-compose.yml

  playwright:
    # the test is actually run in container
    container_name: "playwright"
    image: echowuhao/pywright
    environment:
      - LAUNCH_URL=http://your_test_base_url:80 # set the LAUNCH_URL if you use it in your test. will avaiable as os.env('LAUNCH_URL')
    volumes:
     - ./run_browser_test.sh:/app/run_browser_test.sh # /app is the workdir in image
     - ./broswer_tests:/app/broswer_tests

run test

docker-compose run playwright bash run_browser_test.sh

About

playwright python pytest docker image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published