简体   繁体   中英

TestCafe + VPN can't open links without trailing slash

Connection to our website is through VPN. When we try to use .navigateTo(' https://mainwebsite.net/app1 ') TestCafe will not load that page, it will be infinite loading. But if we add / at the end of that url .navigateTo(' https://mainwebsite.net/app1/ ') it will work. Same issue when clicking links. Tried on multiple machines, browsers and testcafe versions, still same issue. Where could be the problem?

Also to note, when using normal browser(not running testcafe) on VPN it works fine with or without trailing slash

According to your comment , this situation is not a TestCafe problem. Just need to find the problematic url-rewrite rule and fix it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM