Controlling a 12 V solenoid valve with Arduino UNO using a L298N motor driver

Is there any other way to control solenoid valve without bringing the motor driver into picture??

Please read the entire sentence in post #8.