The foamy urine may or may not be a problem. Foamy urine is typically associated with excess amounts of protein in the urine. A urinalysis test can be done to determine if this is the case. Parsley has a cleansing effect on the urinary tract and is useful for treating urinary tract infections. If the foaminess happens only when taking the parsley, then there may be other substances being released that increase the turbidity of the urine due to the cleansing effect of the parsley. This can be bacteria, fungus, etc. It should resolve itself after continued use of the parsley.