To avoid a runny green bean casserole, make sure that your sauce is thickened before adding it to the rest of the ingredients. You can thicken it by cooking it longer on the stove, or by adding a cornstarch slurry.