如何自动登录网页? [英] How can I automate login to a webpage?
本文介绍了如何自动登录网页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在java编码,我正在尝试自动登录(例如outlook.com)
不确定怎么做,或者在哪里开始。所有帮助表示赞赏。提前谢谢。
我的尝试:
我还没有尝试过,因为我不太清楚从哪里开始。
I am coding in java, and I am trying to automate login (for example outlook.com)
Not really sure how to do this, or where to begin. All help is appreciated. Thank you in advance.
What I have tried:
I have tried nothing yet, as I am not too sure where to begin.
推荐答案
您需要连接到网页并发送包含登录详细信息的URL,基于网站的要求。由于所有网站都有自己的规则,因此没有通用的方法。
You need to connect to the webpage and send a URL containing the login details, based on the website's requirements. There is no universal method to do this as all websites have their own rules.
这篇关于如何自动登录网页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文