Answer the question
In order to leave comments, you need to log in
How to enter the result of a script into a variable?
Like I'm running js, but how can I put some value of the result into a variable?
Tipo:
var element = document.getElementById("povar").textContent;
string script = "var element = document.getElementById('povar').textContent;";
browser.ExecuteScriptAsync(script);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question