How to get the values from the document.getElementsByTagName using javascript executor

Before hitting that Ask the Community button, make sure to:

  • Search for similar topics to make sure it hasn’t been asked by another member;
  • Write your topic title as a question (if possible) - this help with search
  • Give as much context as possible (screenshots, videos, links, code blocks, etc.) - this help the community help you
  • Use the katalon-studio tag followed by other appropriate tags for better visibility and searchability.
  • Make sure to remove this pre-filled content before posting. :smiley:
    a = WebUI.executeJavaScript(‘document.getElementsByTagName(“input”)[29].value’, null)



did you read this before actually posting your topic?