After days of rain, the boys were located on July 2, by two British divers and members of the Thai navy SEALS.
Divers, however, rescued the remaining boys and their 25-year-old coach without the help of Musk's submarine.
The former Governor of the Chiang Rai, where the operations are taking place, Narongsak Osatanakorn, said: "We expect that if there is no unusual condition. the 4 boys, 1 coach, the doctor, and 3 SEALs who have been with the boys since first day will come out today".
The disappearance of the boys and their novice monk turned soccer coach from this small town on the Thailand-Myanmar border - remarkably found alive nine days after they went missing June 23 - launched an extraordinary saga of worldwide cooperation and ingenuity, as experts from many fields planned how to maneuver all 13 out alive.
The boys were exploring the caves on June 23 with their coach when they were trapped inside by heavy seasonal rains.
On Sunday, 14 days after the team first went missing, the divers took action, pulling the first group of four boys out of the cave.
Rescuers had planned to keep the team where they were until they could find a safe way to get them out - keeping them supplied until the rainy season ended in October was a possibility.
There are concerns they may have consumed contaminated water, while bird or bat droppings could cause infections.
Hours after the rescue was confirmed, President Trump tweeted his congratulations, adding, "Such a handsome moment - all freed, great job!"
Two of the boys are being treated for potential lung infections - but they're expected to make a full recovery.
The 12-boy soccer team and their coach were rescued after surviving 17 days inside the flooded cave in northern Thailand.
The successful rescue of the young footballers and their coach is a cause for joy not just their families but also for the countless number of people around the world who have been following the drama on television and other media. "Such a lovely moment - all freed, great job!" he wrote. It took the divers about eight hours to get into the cave, reach the boys, and bring them back out.
By this past weekend, more than 100 divers, as well as support and medical staff, were at the scene as the first boys were brought out.
A message posted on the English Premier League club's Twitter account said: "Our thoughts and prayers are with those affected".
The worldwide soccer federation, FIFA, had already invited the boys to attend the World Cup final in Russia this Sunday. It is made of rocket parts & named Wild Boar after kids' soccer team.
- Rescue mission day two : four more boys evacuated
- Cohen's attorney fires back at Giuliani
- Elon Musk leaves 'impractical kid-sized sub' at Thailand cave
- Judge says USA must reunite migrant families or face penalties
- Hero or villain? Trump's court pick is in for a fight
- What World Cup games can I watch today? The first semi-final
- Houston Rockets Determined To Sign Carmelo Anthony
- George Clooney reportedly hurt in Italian scooter crash
- Starbucks is officially going strawless
- Silverstone success has Vettel and Ferrari roaring in F1 title hunt