The Senate on Tuesday confirmed Christopher Wray as the new FBI director, filling a post left vacant since May when President Donald Trump fired James Comey.