Skip to content

Hover web element

Description

Hover over the targeted web element.

Input Ports

Name dataType sourceType required description
Element selector text link-manual true The element that should be hovered over.
iFrame selector text link-manual false If the element is inside of an Iframe, it is mandatory to specify the iframe selector, otherwise the element won’t be found.
iFrame type text manual-only false Option to add more iframes if the targeted element exists in a nested iframe

Scenarios

  • The user wants to hover over a targeted web element.

Use case

Command

Practice using w3Schools
  1. Launch a web browser using chrome or edge, use this url: https://www.w3schools.com/cssref/tryit.asp?filename=trycss_sel_hover
  2. Get the w3schools.com Element selector. Here is how to find a selector
  3. Add the Element selector as a manual value inside of the commands settings
  4. Get the iFrame selector. Here is how to find a selector
  5. Add the iFrame selector as a manual value inside of the commands settings
  6. Make sure you have a robot linked to the macro and run your macro
Inputs
  • Element selector: body > a:nth-child(1)
  • iFrame selector: #iframeResult
  • iFrame type: single
Experienced tips
  • When the element selector could not be found inside of the page, the command will timeout and stop the process.
  • When the element are inside of an iframe and the iframe selector could not be found, the command will timeout and stop the process.
  • When no Element selector is provided, it will stop the process and throw the following error. Hover element requires a element selector
Search Tags

Hover over web element