Indeed this failure started happening on armhf recently (I'd say about a week ago or so) for all builds of firefox, affecting not just hirsute but also xenial, bionic, focal and groovy.
The google search URL that's printed suggests a race condition: selenium doesn't have a built-in method to wait until the current URL changes to a given value, instead it allows watching the URL until it changes from the current value. This combined with a slow test environment might explain why the google redirection (to their consent popup) happens before the real search URL is captured by the test.
Indeed this failure started happening on armhf recently (I'd say about a week ago or so) for all builds of firefox, affecting not just hirsute but also xenial, bionic, focal and groovy.
The google search URL that's printed suggests a race condition: selenium doesn't have a built-in method to wait until the current URL changes to a given value, instead it allows watching the URL until it changes from the current value. This combined with a slow test environment might explain why the google redirection (to their consent popup) happens before the real search URL is captured by the test.