Perform a click on a Webbrowser control

后端 未结 3 971
挽巷
挽巷 2021-01-16 11:43

Does anybody know a good way to perform a click on a control inside of a webbrowser? Preferably from ID?

Thanks, ALL suggestions are appreciated.

3条回答
  •  春和景丽
    2021-01-16 12:25

    You can't directly call click on something in the control. However, you can register some JavaScript into the control and perform the click that way.

    See How to inject Javascript in WebBrowser control? for details.

提交回复
热议问题