The Ferrari driver edged out McLaren’s Lando Norris.