Java Selenium – ChromeDriver not following URL arguments?

huangapple 未分类评论47阅读模式
英文:

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!

huangapple
  • 本文由 发表于 2020年4月8日 01:14:36
  • 转载请务必保留本文链接:https://java.coder-hub.com/61085616.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定