Skip to content

Instantly share code, notes, and snippets.

@cb109
Created April 20, 2026 11:29
Show Gist options
  • Select an option

  • Save cb109/3c0767ec323996f90537e1b1e5110fc1 to your computer and use it in GitHub Desktop.

Select an option

Save cb109/3c0767ec323996f90537e1b1e5110fc1 to your computer and use it in GitHub Desktop.
How to inspect Web-UI elements in dev-tools that depend on volatile JavaScript behavior e.g. hover
  • Open Chrome dev-tools via e.g. F12
  • Open the "Run Command" window e.g. via Ctrl+Shift+P
  • Start typing "Disable JavaScript" to preselect that command (do not confirm it yet)
  • Hover your mouse where needed to show the UI element to inspect e.g. a tooltip dialog
  • Hit enter to confirm disabling JavaScript, which will hopefully make the element stay where it is

You can now inspect the element in dev-tools as needed. Run the command "Enable JavaScript" once you are done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment