Forum Discussion

DanNad's avatar
DanNad
Contributor
3 years ago
Solved

How to extract selector from name property of web object

I have troubles getting the selector from the name property. Example name property: FindElement("[data-test=\'scene-list-panel-header\'] > [data-test=\'list-panel-header-action\']")   What i try t...
  • DanNad's avatar
    3 years ago

    I managed to remove the backlslashes by using JScript's .remove() method instead.

    -> testString.replace(/\\/g,"");