JavaScript snippets
Way to test you dropdown menus, popups and other interactive elements
Last updated
Way to test you dropdown menus, popups and other interactive elements
Last updated
Imagine you would like to take a screenshot of your page with the main menu expanded. You can do that by providing a little javascript snippet that will do exactly that right before we take the screenshot.
For that, we recommend using anchor tags so JavaScript knows when to run. So you have pages in the project:
And then under the javascript section, you can target the anchor tag