admin管理员组文章数量:1344946
For example, I want to run the tests using
npx testcafe chrome:headless t.js --base-url=
However, inside of a test I want to get access to the URL value. How is that possible?
I tried to call in the test code console.log(process.env.base-url)
but with no success.
本文标签: testcafeUsing CLI baseurlsomeURLValue how do I call the someUrlValue in my test codeStack Overflow
版权声明:本文标题:testcafe - Using CLI --base-url=someURLValue how do I call the someUrlValue in my test code - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743775503a2536898.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论