Navigate to your project's root directory, and install the latest Helios OpenTelemetry SDK:
pip install helios-opentelemetry-sdk
Provide the following arguments when running your tests:
pytest <tests_path> --hs_access_token=<API_TOKEN> --hs_enabled=true
initialize_playwright_test with Playwright's page object at the beginning of the test:
from helios import initialize_playwright_test ... def some_playwright_test(page): initialize_playwright_test(page) # Test code ...
Updated 7 months ago