AnimationDetectedException in Chrome 29

74 views
Skip to first unread message

J Crown

unread,
Aug 19, 2013, 2:00:20 PM8/19/13
to fighting-l...@googlegroups.com
Hi,

I am using fighting-layout-bugs-0.5.jar with selenium-server-standalone-2.35.0.jar on Chrome 29.0.

On executing findLayoutBugsIn method, AnimationDetectedException is displayed.

It was working fine until i upgraded chrome to version 29 and the exception is thrown for all web pages.

Java - JRE 6
OS - Win XP 

Attached are the screenshots with debug mode enabled.

With Regards,
JCrown
I blog here
FLB Screenshots.zip

Rashi Chopra

unread,
Sep 13, 2013, 4:49:17 PM9/13/13
to fighting-l...@googlegroups.com
Hi,

I am seeing the same issue with my tests, I am using Chrome 29 too with Selenium 2.35 with Java7 and win7.
I added the following code I found in one of the comments but did not help:

TextDetector textDetector = new AnimationAwareTextDetector();
textDetector.ignore("select");
FightingLayoutBugs flb = new FightingLayoutBugs();
flb.setTextDetector(textDetector);

Can you tell how to resolve this?

Thanks!

Michael Tamm

unread,
Sep 14, 2013, 5:02:30 PM9/14/13
to fighting-l...@googlegroups.com
If you do not have animation on your webpage (or can disable any animation when you are testing your website)
you can use the SimpleTextDetector instead of the AnimationAwareTextDetector (the default one) like this:

FightingLayoutBugs flb = new FightingLayoutBugs();
flb.setTextDetector(new SimpleTextDetector());
...

I hope this helps.

Kind regards, Michael
Reply all
Reply to author
Forward
0 new messages