Yes - I use selenium in the integration tests for Dash. Here are some examples:
- Integration tests for Dash’s front-end: https://github.com/plotly/dash-renderer/blob/8d4970c2a9865136369d0c20ec9203d2a7c0fc46/tests/test_render.py
- Integration tests for
dash-auth: https://github.com/plotly/dash-auth/blob/b7567697b9e3460501156b2552efa1afad89d7a6/tests/test_integration.py - Here’s a
circle.ymlfile for running these tests on CircleCI: https://github.com/plotly/dash-auth/blob/b7567697b9e3460501156b2552efa1afad89d7a6/circle.yml and it’s associatedtoxfile: https://github.com/plotly/dash-auth/blob/b7567697b9e3460501156b2552efa1afad89d7a6/tox.ini. These tests run across multiple versions of python - In the
utils.pyfunction, there are some helpful utilities likewait_for: https://github.com/plotly/dash-auth/blob/b7567697b9e3460501156b2552efa1afad89d7a6/tests/utils.py#L39-L79, which can be used to wait for elements to render: https://github.com/plotly/dash-auth/blob/b7567697b9e3460501156b2552efa1afad89d7a6/tests/test_integration.py#L61
I hope that helps!