Disable css/js transitions while runing robot tests

Hello everybody.

I am looking into a way to disable transitions while running robot tests.

I am currently investigating the possibility to solve my problem using dedicated diazo rules that will add additional css and js resources to the page, but before losing too much time I would like to hear the opinion of the community.

Do you have any suggestions for me?

1 Like

Does http://stackoverflow.com/a/11132887/3046069 help?

Sorry forgot to post the answer :stuck_out_tongue:

I registered in the test setup an additional viewlet for IHTMLHead which was injecting this css:

body *,
body * :after,
body * :before {
animation: none !important;
transition: none !important;
}

and this js:

jQuery.fx.off=true;