Based on https://github.com/GuillaumeGomez/browser-UI-test/pull/432#issuecomment-1384041792
Based on #432 (comment)