`playwright.config.ts` の以下`baseURL`を取得する方法。
```ts
export default defineConfig({
use: {
baseURL: 'http://localhost:3000',
```
渡ってくる`baseURL`を利用する。
```js
mport { test, expect } from '@playwright/test';
test('basic test', async ({ page, baseURL }) => {
// ...
});
```