I'm aware that if a vote is tied in an election, then a tie-breaker is conducted which leaves the result to chance. As far as I know in recent years this has only occurred in local council elections; for example in the 2017 Northumberland County Council election, the seat of the ward of South Blyth was decided by drawing straws as both the Conservative and Liberal Democrat candidates obtained 356 votes.
Has this tie-break scenario ever occurred during a contest for a House of Commons seat, either in a General Election or a by-election?