An excerpt from The Washington Post -
The big question about driverless cars no one seems able to answer
By Brian Fung
Wow. A lot of you guys had some very passionate responses to last week's news that the federal government had recognized Google's software, not the human passenger, as the "driver" in its self-driving cars. There was one, big theme running through many of your comments. See if you can identify it:
So does the software have to get a driver's license and insurance? –ikeaboy
So if I get drunk, get into my Googlemobile and crash into someone the software is going to jail? Seems awkward to put flash memory in with the other prisoners. –InAVanByTheRiver
Who is charged if there is a fatal accident and there is an occupant in the driverless car? What happens if there is a lawsuit? Who pays the fine or serves time if the driverless car is found guilty? –scoon42
All of these questions target the issue of liability, which is about to get very interesting. As computerized, self-driving cars come closer to fruition, car accidents are likely to become vastly more complex. What will happen when you get into a crash, and who will be to blame?
https://www.washingtonpost.com/news/the-switch/wp/2016/02/17/the-big-question-about-driverless-cars-no-one-seems-to-have-an-answer-to/