我正在try 获得当前的网址使用selenium.以下是我的代码:
#landing on page
driver.get("http://web.archive.org/web/20200922013649/https://www.shadesofstone.com/hardscape/flagstones-more/landscape-galore.html")
#get current url
main_link = driver.current_url
print(main_link)
但我得到的只有这一点:
https://www.shadesofstone.com/hardscape/flagstones-more/landscape-galore.html
而不是这个
http://web.archive.org/web/20200922013649/https://www.shadesofstone.com/hardscape/flagstones-more/landscape-galore.html
这里出了什么问题?