Fix Run test on multiple browsers and screenshot on failure (#10215)

Change-Id: I5044673eedc4945b979408268bbede955ec94364