How do you catch Pokemon with Pokemon GO?

Just how they did in they anime--you throw a (virtual) pokeball at it and hope it doesn't break out. You don't have to wear the target Pokemon down by attacking it with your own, however.