How to get text and store it in a variable which is declared outside the getText() function? #3552
Unanswered
Digi27
asked this question in
Help Needed
Replies: 1 comment
-
I generally in the calback function use FS to store the value in a file I have a file value: { Then for exanple I find and replace ACNT_NAME. Then I can call vendorAccount later. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Example:
let textVar;
client.getText("cssSelector", function (result) {
// now result.value I want to store it inside textVar variable so that I can use it in some other lines of code
})
Beta Was this translation helpful? Give feedback.
All reactions