in reply to How to use synchronize method with WWW::Mechanize::Firefox?

You have a typo in your event:DOMConentLoaded is likely meant to be DOMContentLoaded.

The program hangs because your callback never performs any action. The callback you pass to ->synchronize is supposed to click on a button.