Wild Shape states
Your game statistics are replaced by the statistics of the beast
But it seems the confusion is are actions game statistics?, or, more generally, what are game statistics?
Actions are game statistics
Page 6 of the Monsters Manual defines what are a monster statistics:
A monster's statistics, sometimes referred to as its stat block, provide the essential information that you need to run the monster.
Notably, one of the subsections in the Statistics section is Actions, p. 10 and 11, which include the monster attacks.
The most common actions that a monster will take in combat are melee and ranged attacks. These can be spell attacks or weapon attacks, where the "weapon" might be a manufactured item or a natural weapon, such as a claw or tail spike.
Therefore, yes, the attacks from the monster are part of its statistics, not only movement or senses.
Although there is a notable exception in the Wild Shape feature:
If the creature has any legendary or lair actions, you can't use them.