It's unfair to judge them exceptionally when comparing among the range people and views of that earlier age, or to hide behind supposed earlier universal standards which often turn out to have been anything but. In the pantheon of world history it is
perfectly reasonable to judge, question and doubt. Plenty of people of those ages found such things abhorrent and banded together to end child labour, animal mistreatment and slavery among countless other horrible behaviours. After all that is how we got our hopefully better and more enlightened standards today. The ASPCA was formed in the mid 19th century after the RSPCA was formed in the early 19th.
It also allows us to go further back to more brutal, death ridden times and understand there probably was little place
So it's perfectly OK to pour scorn and revulsion on Edison, and judge him and his peers for electrocuting elephants and family pets, whilst acknowledging Franklin appears to have learnt from and been deeply affected by his (eventually successful) attempt at turkey electrocution.