[{'headless': False}, {");\n```\n\n### 4. Authenticated API Request\n```javascript\n  // Make authenticated request to orders API\n  const apiResponse = await page.request.get('/api/oms/user/orders": {'headers': {'Cookie': 'cookieHeader', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36'}}, 'status': ", apiResponse.status());\n  console.log('API Response body:", 'Mode**': 'Consider running with `headless: false` initially for debugging\n2. **Wait Times**: Add appropriate waits for redirects and page loads\n3. **Error Handling**: Implement proper error handling for login failures or API errors\n4. **Session Persistence**: Save cookies to file for reuse if needed\n5. **Rate Limiting**: Add delays between requests to avoid being rate-limited\n\n## Checklist for Implementation\n\n- [ ] Set up Playwright with Chromium\n- [ ] Navigate to login page\n- [ ] Perform login with credentials\n- [ ] Wait for authentication and redirect\n- [ ] Access the orders page\n- [ ] Extract session cookies/tokens\n- [ ] Make authenticated API request to `/api/oms/user/orders`\n- [ ] Parse and handle the API response\n- [ ] Add error handling and logging\n- [ ] Test in both headless and non-headless modes'}]