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

How do I find playwright.config.ts in a C# playwright test project - Stack Overflow

programmeradmin0浏览0评论

I have a visual studio - c# - playwright test project which is coming together very nicely. One thing I am struggling with is changing the default testIdAttribute value.

I have seen this example

import { defineConfig } from '@playwright/test';

export default defineConfig({
  use: {
    testIdAttribute: 'data-pw'
  }
});

which relates to the file playwright.config.ts, I have searched for this file in the project and I cannot find that file anywhere. Is it created when Playwright is added to the project or does one have to create it when changing default values.

Any thoughts please?

发布评论

评论列表(0)

  1. 暂无评论