In Victoria, the polls were open for the federal by-election of Dunkley, with both major parties running candidates.