A law which could keep the UK inside the European Union until the new year has been passed by MPs.
But where do all the Westminster parties stand on Brexit?
Liberal Democrats – 17 MPs
The party looks poised to change its position to support an outright cancellation of Brexit.
Members will vote at the upcoming annual conference on whether to adopt the new policy.
If the motion passes, the party will go into any general election campaign with a commitment to immediately revoke Article 50 (the process which started the clock ticking on the UK’s exit from the EU).
At present, the official Liberal Democrats policy is to back another referendum on EU membership, in which they would campaign for Remain.
Labour – 247 MPs
Labour favours another public vote on Brexit.
If the party wins an election, Jeremy Corbyn says a referendum will include a Remain option as well as a “credible Leave option”.
Mr Corbyn has not said which way he would vote. Other senior figures, including shadow chancellor John McDonnell and shadow foreign secretary Emily Thornberry, have said they favour remaining in the EU.
Just like the Conservatives, Labour has had to deal with internal divisions over its Brexit policy. More than 25 Labour MPs wrote to Mr Corbyn in June saying another public vote would be “toxic to our bedrock Labour voters”.
Conservatives – 288 MPs
Prime Minister Boris Johnson has said he wants to leave the EU on 31 October “do or die”. He says he wants to leave with a deal, but is willing to exit without one to deliver Brexit by the current deadline.
Mr Johnson says any new deal must not include the controversial Irish backstop, which should be replaced with “alternative arrangements”.
The issue of Brexit has left the Conservative Party heavily divided. After it supported a vote paving the way for legislation to extend the Brexit deadline, 21 of its MPs were expelled.
SNP – 35 MPs
The SNP is pro-Remain and wants the UK to stay a member of the EU.
It has been campaigning for another referendum on Brexit.
The SNP’s ultimate objective is for an independent Scotland that is a full member of the EU.
Democratic Unionist Party – 10 MPs
The DUP has an agreement with the Conservatives, which it supports in Commons votes.
Despite Northern Ireland backing Remain in the 2016 referendum, the DUP is supporting the PM’s plans to leave the EU, with or without a deal, at the end of October.
Like Boris Johnson, the DUP wants the EU to make changes to the Irish backstop.
The party argues the current proposal has the potential to create an internal border between Northern Ireland and the rest of the UK.
The Independent Group for Change – 5 MPs
This party is made up of MPs who left the Conservatives and Labour, in part because of their positions on Brexit.
They back another referendum, or “People’s Vote”, and want the UK to remain in the EU.
Plaid Cymru – 4 MPs
The party backs remaining in the EU, despite Wales voting out in the referendum. It want a further referendum and to Remain.
Green Party – 1 MP
The party’s one MP, Caroline Lucas, has been a vocal campaigner for another referendum and believes the UK should stay in the EU.
Brexit: Where do the parties stand?}