The case is that i have a simple website, where i have one input. That input value is needed in my script.
not sure what r u asking.
Please provide a sample website
I can see that it’s a bit vague, let me try to clearify what i mean. I have this local page “Test.html” Where i have one input field, and two buttons.
The first button “Try it” takes the input and types it down under, and the next button “skrr” SHOULD take that input and use it in my script. The script is working on its own. It opens an online text editor and types. But i want to be able to take my input from Text.html and use that.
Hope it makes more sense. There is some screenshots for my test.html and my code
You could use executeScript, return a value, store it and name it. Then call it whenever you need it.
"Target": "return $('#MyButton').text();",
When i do it like you have done, it just echo’s “nameItHere” instead of the actual value.