开发者

VB.NET Button clicks stuff in webbrowser1

开发者 https://www.devze.com 2023-03-24 13:36 出处:网络
How can i make it where you click button 1 and on a page like www.youtube.com/shanedawsontv in webbrowser1 it will click t开发者_运维问答he text Add as friend cause they don\'t have ids for that pleas

How can i make it where you click button 1 and on a page like www.youtube.com/shanedawsontv in webbrowser1 it will click t开发者_运维问答he text Add as friend cause they don't have ids for that please help


You'll likely have to use the WebBrowser Control's DocumentText Property to get the HTML of the page so that you can parse the required HTTP request required to add the user as a friend. That's likely to be no easy task with YouTube as it will probably be using hidden fields and Javascript (from a separate .js file) to make the request.

0

精彩评论

暂无评论...
验证码 换一张
取 消