I have seen things similar to this before. Try this:
Setting.WebPackage("ReplayType") indicates how mouse operations should be run. The value can be one of the following:
1 - Runs mouse operations using browser events.
2 - Runs mouse operations using the mouse.
Code:
Setting.WebPackage("ReplayType") = 2
'click on your menu button here
Setting.WebPackage("ReplayType") = 1
Setting.WebPackage("ReplayType") indicates how mouse operations should be run. The value can be one of the following:
1 - Runs mouse operations using browser events.
2 - Runs mouse operations using the mouse.