How can disable animation in a running AngularJS app?

I am writing test automation for Ajenti2
With Selenium for Python

I need to disable animation: progress bar, buttons, icons, etc

I found it: $animate.enabled()

But i can’t figure out how to apply it. This works in:
It doesn’t work in DevTools console, or by adding a script to the template:

Additional information:
Creating a module:

Creating a controller:

Unfortunately I don’t really understand JS and AngularJS

I want to use the final result

dirver = webdriver.firefox()

editing index.html

Source: AngularJS Questions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.