Motorists who are still learning to drive or ride their vehicles will have to undergo mandatory simulator training from the start of 2019.