I want to extract the download url from streamcloud in my C#-Program.
Therefore I have to wait 10 seconds, click on a button and click on the player.
Then I can extract the download url from the page-source.
My problem:
I have 2 ways to do this:
-
Automatic: I have to simulate a click on the button after 10 seconds. But my HtmlElement is always null.
-
Manually: I created a form with a WebBrowser-control. But this control didn’t show for example the button. I think the WebBrowser-control is blocking all jscript-content. Is there a way, that the WebBrowser shows all content?
Or is there a other way to get the download-url?
If you want to do this on a machine with browser installed (IE or Firefox), you could use any framework for automated testing. WatiN is a good one.
Something like this: