Fix Selenium error introduced in 301906dbb1abf4a93c73a2d21428b0eb553e48e9