Comments (3)
It would be nice indeed to pause on the API request calls, but current inspector implementation is tightly coupled with browser context. You can use regular JS debugger in VS Code to step over the API requests as a workaround for now.
from playwright.
Investigation notes
Give the following test:
import { test, expect } from '@playwright/test';
test('get started link', async ({ request }) => {
await request.get('https://playwright.dev/');
await request.get('https://playwright.dev/docs/intro');
});
Running with npx playwright test --debug
does not bring up the inspector. The reason is that Debugger
class is only instantiated for BrowserContext
and not for APIRequestContext
.
from playwright.
so there is no update or will not be added as a milestone?
from playwright.
Related Issues (20)
- Is there Source Code Security Testing Report (SonarQube...etc.) ?
- [Feature]: Codegen for branded browsers HOT 2
- [Feature]: Is it possible to use system node version for Playwright Java/Python/C#.net HOT 1
- [Docs]: mention worker fixtures are rerun on worker restart when tests fail HOT 1
- [Bug]: playwright fails to print child window title HOT 2
- [Bug]: Screenshot only on failure takes all the chromium pages of running tests when run in parallel HOT 1
- [Feature]: Change the keyboard API to return Promise<this> HOT 2
- [Feature]: Provide simplified keyboard API for `tab` and `enter` HOT 2
- [Bug]: Passed test is shown as failed in the test report HOT 1
- [Bug]: VS Code extension fails when regexp-like config parameters are empty strings
- Please share git hub repository for ffmpeg-win64.zip utility which is used by playwright as I need to add some features
- [Please read the message below]
- [Feature]: record network traffic when `codegen` HOT 2
- [Regression]: ESM Directory Import is not working anymore with Playwright's ESM Loader activated
- Playwright.config.ts - projects - when dependencies are improperly declared, UI mode loads tests suite endlessly HOT 1
- [Bug]: route.fetch fails to decompress 'br' encoding: unexpected end of file HOT 1
- [Feature]: Reflect existing printStepsoption from list reporter to line reporter
- [Bug]: The test doesn't fail when comparing screenshots by toHaveScreenshot, provided that the page is actually different HOT 5
- I am planning to run some API tests before executing the entire test suite. If the services return a 200 (OK) status, I want to proceed with running the full test suite. HOT 2
- [Feature] - Ability for global teardown to wait until the reporter generates the report HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playwright.