Skip to content

Demo Mode

Demo Mode 🎦

SeleniumBase Example

Use --demo to run SeleniumBase tests with Demo Mode enabled, which highlights browser actions and shows visual assertions.


Here's how to run test_swag_labs.py from examples/ in Demo Mode:

pytest test_swag_labs.py --demo

SeleniumBase Example


Here's an example that only uses the highlight() method for highlighting browser actions:

(test_error_page.py from examples/)

pytest test_error_page.py

SeleniumBase Example


Here's an example of a mobile test in Demo Mode:

SeleniumBase Example