In the movie Gallipoli, the ANZACs were depicted charging into machine gun fire, knowingly, without any sort of protection. In other words, it was like shooting fish in a barrel.
If they knew that there would be such heavy fire, as previous unsuccessful waves have demonstrated, why did they continue to send what were essentially suicide waves? I am no expert in warfare, but it seems reasonably logical to at least have the soldiers charge in with some kind of protection in the form of say armoured plates on wheels.
I envisaged a simple U-shaped unit with walls made of thick metal, where men push from inside the U-shape in order to slowly advance safely towards enemy lines.