英文:
Java Selenium - ChromeDriver not following URL arguments?
问题
抱歉如果这是一个愚蠢的问题,但我被难住了。我正在尝试自动化一些测试。其中一步是点击电子邮件中的链接以验证用户。链接看起来像这样:
https://www.mailinator.com/key/url?url=https%3A//destination-website.com/verifytokenhere104981309blablablah
其中Mailinator是用户电子邮件地址的站点。我可以自动点击链接,但当它被点击时,它只会打开Mailinator,而不会进入最终的网站。
有没有Chrome选项可以设置,以允许完全跟踪链接?谢谢帮助!
英文:
I apologize if this is a dumb question, but I am stumped. I am trying to automate some testing. One step is to click on a link in an email to verify the user. The link look something like this:
https://www.mailinator.com/key/url?url=https%3A//destination-website.com/verifytokenhere104981309blablablah
where Mailinator is the site for the user's email address. I can automate clicking on the link, but when it is clicked, it only opens mailinator and doesn't ever go to the final website.
Is there Chrome option that I can set to allow the link to be fully followed? Thanks for the help!
专注分享java语言的经验与见解,让所有开发者获益!
评论