Democrats captured both the Senate and House of Representatives in the November 3 midterm elections, delivering a nationwide rejection of Donald Trump. The party was on course to win more House seats than it held when Barak Obama was elected in 2008.