Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add PANTHER_REDUCED_MOTION to limit animations #651

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Jean-Beru
Copy link

This PR add a PANTHER_REDUCED_MOTION environment variable to set the prefers-reduced-motion CSS media feature to reduce.

It could be useful to limit "flaky" tests which result in a Facebook\WebDriver\Exception\ElementClickInterceptedException: Element <XXX> is not clickable at point (XXX, YYY) because another element XXX obscures it exception because an animation is still in progress.

This CSS media feature is already supported by Bootstrap or the french DSFR.

@Jean-Beru Jean-Beru force-pushed the add-reduced-motion branch 3 times, most recently from 0dbcc07 to 0d04f2a Compare December 10, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant