def enable_css_animations(page):
 page.browser.execute_script("\n        var styles = document.getElementById('no-transitions'),\n            head = document.head || document.getElementsByTagName('head')[0];\n\n        head.removeChild(styles)\n    ")

def enable_css_animations ( page ) : page . browser . execute_script ( "\n        var styles = document.getElementById('no-transitions'),\n            head = document.head || document.getElementsByTagName('head')[0];\n\n        head.removeChild(styles)\n    " )
enable css3 animations .