McCain , who has struggled for attention while the electorate focused on the Democratic duel between Obama and Clinton , sought to steal some of the spotlight on a night when Obama was expected to become the first black presidential nominee from either major U.S. party .