Lawmakers elected Kosovo's most popular politician Vjosa Osmani as president Sunday, overcoming an opposition boycott that had kept parliament short of a quorum one day earlier.