I used to be able run custom function by appending to the _actions variable in ActionChain like below.
action = ActionChain(driver) action._action.append(lambda: