Based on my experience, which I won't re-iterate here - the various MOOCs I've taken (and currently the Udacity Nanodegree) would not be anywhere close to a masters in the subject (unless I am severely overestimating a masters - but I don't think so).
TBH - they would probably equate closer to an Associates, at best.
This offering from Stanford? Not sure - but I still don't think it would be the equivalent. I'm not saying it wouldn't be worthwhile, but I think if your goal is a deep level of knowledge and understanding of the subject, then a quality masters program for CompSci or similar would be the better path.