Capture Elements Using Recorder


The path of an element plays a crucial role in test automation. It specifies locating a UI element within a web page or application, such as a button, textbox, or link. This article will discuss how to capture elements with a Chrome recorder extension.


Prerequisites


Steps to Capture Elements

  1. Navigate to Create Tests > Elements. Elements
  2. Click on Record. Record
  3. This will open a new tab. Enter the URL from which you want to capture the single element. The Testsigma test recorder will appear and will be ready to start recording. New Tab
  4. Hover over the element you want to capture and make sure that it is highlighted in green. Highlight
  5. Click on the hovered element and wait for the element to appear in the recorder. Click on Element
  6. Click on Done, you will be redirected to the Elements page. Done
  7. The element will be saved in the elements list.