To perform in-situ visualization of electrochemical measurements, the opto-electrochemical cell was fabricated with an optical glass window on its top face. Pre-cleaned nickel foil (99.99%) and platinum foil (99.99%) sheets were used as the electrode materials for the optoelectrochemical investigations. The distance between the optical glass window and electrodes surface is ⁓5mm, in order to cater the small working distance for the optical objectives used in this study, and allow changing the distance between the electrodes for different purposes.