In a large bowl, mix the green beans, soup, Worcestershire sauce, cream, and spices.
Transfer the bean mixture to a deep baking dish that fit the air fryer basket. Cook at 350°f for 10 minutes. Remove dish from air fryer halfway through and give it a stir.
Remove the casserole from the air fryer and top with crispy fried onions. Cook at 300°f for 3 minutes.
Remove casserole from the air fryer and cool slightly before serving.