selenium中的链接断开
1-Collect all the links in the web page based on <a> tag.
2-Send HTTP request for the link
and read HTTP response code.
3-Find out whether the link is valid
or broken based on HTTP response code.
4-Repeat this for all the links captured.
如何在selenium中找到断开的链接
1-Collect all the links in the web page based on <a> tag.
2-Send HTTP request for the link and read HTTP response code.
3-Find out whether the link is valid
or broken based on HTTP response code.
4-Repeat this for all the links captured.