Forum Discussion

DanNad's avatar
DanNad
Contributor
4 years ago

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
    4 years ago

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

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