Read more

Firefox: Focus-sensitive Selenium tests do not work reliably in parallel test execution

Dominik Schöler
November 17, 2014Software engineer at makandra GmbH

This is a problem when using Selenium with Firefox. We recommend using ChromeDriver for your Selenium tests.


Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

Firefox will not trigger focus/blur events when its window is not focused. While this makes sense in standard usage, it breaks in parallel test execution.

Please do not rely on focus events in your tests. The linked card has an example of how to build passing tests that deal with focus/blur events.

Posted by Dominik Schöler to makandra dev (2014-11-17 09:53)