Skip to content

[Bug] Can't use InnerText or InnerHtml in WebUI.executeJavaScript #224

Description

@anandarony

Code:
WebUI.executeJavaScript("document.querySelector('.dx-fixed-columns > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > table:nth-child(1) > tbody:nth-child(2) > tr:nth-child(1) > td:nth-child(21)').innerText", null) ;

Not able to use InnerText or InnerHtml in Javascript. When I use this syntax it shows null. But if I run into browser consloe I got result

  • Katalon Studio Version: 8.3.5
  • OS Version:
  • Browser Version:

Steps to Reproduce:

Expected behavior:
Result: Value will shows

Screenshots:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions