HELP PLEASE. Newbie without a clue

The solenoids are connected to a dual H bridge DC stepper motor drive controller board module.

I do not need anything to trigger the solenoid, i just want the solenoids to push/pull repeatedly and i want to be able to vary the speeds.

I have attached a video below of the equipment i have and the action i am looking to recreate

cheers