Is it correct to say I electrocuted my friend if he was only injured by electricity?
The term electrocute was originally coined in 1889¹ by splicing the prefix electro- into the word execute. It originally meant execute (by electric shock). However, its meaning has evolved over time: first to also include accidental death by electric shock and later to include electrical injury,² generally serious in nature. So your use of the word does not fit the original nineteenth century meaning, but is perfectly in line with the broader meaning of the word as it is understood today.