Yes, having tests and driver's licenses has put an end to excessive speeding, cutting people off, tailgating, last minute lane changes, and other dangerous driving behavior because people are now educated in the dangers of doing so.
Wait... no. People still do stupid shit. Not because they don't know better, but because they don't give a shit.
An internet license or whatever would be the same. People already know what to do or not do. They are told all the time. They are told every fucking day at work. They are told by friends or relatives who who have a brain. A small percentage may have these troubles because no one has taken the time to educate them, but for the vast majority that I have had to deal with it's not that people don't know better, it's that they're lazy and don't fucking care.