最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

testcafe - Using CLI --base-url=someURLValue how do I call the someUrlValue in my test code - Stack Overflow

programmeradmin0浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论