Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using the following code to click a button.

C#
webKitBrowser1.StringByEvaluatingJavaScriptFromString("Document.getElementById('buttonExport').click();");


But it doesn't work. After browsing my webpage then I want to click a button on this page. This button will generate a image of this webpage & save it into a folder.

Please help me to find out the solution. How can I click a button using C# code after browsing a webpage by webkit ?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900