If an element you want to target responds to clicks in a way that alters the page, the trick is to target the element without directly clicking on it. It’s possible to do this by clicking on a nearby container element and then using the DOM navigation options to home in on it.
You will need to expand the advanced targeting options using the ‘Show advanced’ link. And then you have 3 ways to switch targeting onto the hamburger icon without actually clicking on it: the breadcrumbs, HTML code, and the navigation arrows.
I hope this helps. If not, please send a link to your site so that I can advise you more specifically.