Fix Selenium error introduced in 9b642a098da385216277a93ec6eed7321d045921