Hover Element

Hover over an element to bring it in focus before taking a screenshot.

Hover Element Name

The name of the element to hover over, such as a link or button must be specified. The hover value can be by:

  • Text such as &click=OK
  • Name such as &click=mybutton
  • Id such as &click=#mybotton
  • Class Name such as &click=.gdpr-button

View element selection examples.

Hover over an element example

The example below shows how to hover over the "Podcast" left side menu before taking a screenshot.

// Line breaks added for readability https://api.addscreenshots.com/screenshots
?apikey=
YOUR_API_KEY
&hover=Podcasts
&url=dev.to

Hover and take a screenshot