import { defineConfig, devices } from '@playwright/test’; … process.env.PLAYWRIGHT_SERVICE_RUN_ID = process.env.PLAYWRIGHT_SERVICE_RUN_ID || new Date().toISOString(); … export default defineConfig(config, { workers: 20, … use: { connectOptions: { wsEndpoint: `<MPTのURL>?cap=${JSON.stringify({ os, //‘linux‘か’windows‘を選択可能 runId: process.env.PLAYWRIGHT_SERVICE_RUN_ID })}`, timeout: 30000, headers: { ‘x-mpt-access-key’:<MPTのアクセスキー> }, exposeNetwork: ‘<loopback>‘//localhostなどFWの内部で実行したい場合ここに色々設定する } … }, });