Edmontosaurus was not a particularly aggressive dinosaur, but it was capable of defending itself if it was attacked. Its main defensive weapon was its tail, which was long and powerful. Edmontosaurus could use its tail to swing at predators, and it could also use it to knock them over. In addition, Edmontosaurus had a thick, bony skull that could help to protect it from injury.
Edmontosaurus was also able to run quickly if it was necessary. It had long, powerful legs that allowed it to reach speeds of up to 20 miles per hour. If an Edmontosaurus was attacked, it would often try to run away rather than fight.
Edmontosaurus was a successful dinosaur that survived for millions of years. Its ability to defend itself was one of the factors that contributed to its success.