I googled and found slides there Leif extends the method to discrete dividends: https://www.math.cmu.edu/CCF/CCFevents/shreve/abstracts/L.An...
( I'm a fixed income quant, so I didn't look for it until now.) For a more advance model than Black-Scholes, e.g. local vol I don't expect it can be extended, and one would then need use some PDE based method.