SeleniumBase/integrations/docker/run_docker_test_in_chrome.sh

7 lines
232 B
Bash
Executable File

#!/bin/bash
set -e
# Run example test from inside Docker image
echo "Running example SeleniumBase test from Docker with headless Chrome..."
cd /SeleniumBase/examples/ && pytest my_first_test.py --browser=chrome --headless
exec "$@"