0

Can we read the value being written by document.Write(some variable) ,basically there is a variable dynamic which gets value by a script.so can we know what value is there in this variable by Html agility pack if there are any other way of doing that please tell me.

1 Answer 1

1

No, Html Agility pack is a parser and that can only look at the static text of the document.

What you need, is to have the javascript evaluated before you look at the page state. This is more like browser automation.

Take look at Watin, I think that does what you want.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.