playwright/src/client
Dmitry Gozman 3e05d8e9fa
feat(tracing): introduce _reset() and _export() (#7974)
`tracing._export({ path })` exports current tracing state into a file
and does not require tracing to be stopped.

`tracing._reset()` resets current tracing state, but keeps resources
around so they can be referenced in the future snapshots. Does not stop.

The usage pattern is:
```js
await tracing.start({ screenshots: true, snapshots: true });
// ...
await tracing._reset();
// Do stuff, it will all be in the export below.
await tracing._export({ path });
// ...
await tracing.stop();
```
2021-08-03 16:08:06 -07:00
..
accessibility.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
android.ts fix(trace-viewer): include waitFor* in trace viewer (#7413) 2021-06-30 17:56:48 -07:00
api.ts feat(locator): implement element locators (#7808) 2021-07-22 21:37:20 -07:00
artifact.ts chore: remove hard-coded wrapApi names (#7347) 2021-06-28 13:27:38 -07:00
browser.ts chore: remove hard-coded wrapApi names (#7347) 2021-06-28 13:27:38 -07:00
browserContext.ts fix(network): process last inserted routes first in request interception (#7585) 2021-07-13 20:22:01 +02:00
browserType.ts chore: migrate connect/overCDP to options instead of params (#7606) 2021-07-22 16:55:23 +02:00
cdpSession.ts chore: remove hard-coded wrapApi names (#7347) 2021-06-28 13:27:38 -07:00
channelOwner.ts feat(test-runner): introduce steps (#7952) 2021-08-02 17:17:20 -07:00
clientHelper.ts feat: add browser.newContext({ baseUrl }) (#7409) 2021-07-06 21:16:37 +02:00
connection.ts chore: remove hard-coded wrapApi names (#7347) 2021-06-28 13:27:38 -07:00
consoleMessage.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
coverage.ts api: remove Chromium* classes (#6040) 2021-04-01 18:47:14 -07:00
dialog.ts chore: remove hard-coded wrapApi names (#7347) 2021-06-28 13:27:38 -07:00
download.ts feat(download): introduce Download.cancel (#7462) 2021-07-06 09:38:50 +02:00
electron.ts fix(trace-viewer): include waitFor* in trace viewer (#7413) 2021-06-30 17:56:48 -07:00
elementHandle.ts chore: remove hard-coded wrapApi names (#7347) 2021-06-28 13:27:38 -07:00
events.ts feat(network): expose network events via browser context (#6370) 2021-05-13 10:29:14 -07:00
fileChooser.ts chore: remove hard-coded wrapApi names (#7347) 2021-06-28 13:27:38 -07:00
frame.ts chore: move locators to strict selectors (#7866) 2021-07-27 15:27:36 -07:00
input.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
jsHandle.ts chore: remove hard-coded wrapApi names (#7347) 2021-06-28 13:27:38 -07:00
locator.ts chore: locator code style nits (#7972) 2021-08-03 13:32:39 -07:00
network.ts chore: hide request interception for 1.13 (#7425) 2021-07-01 18:33:47 +02:00
page.ts feat(strict): introduce strict mode (#7851) 2021-07-26 22:00:23 -07:00
playwright.ts feat(port-forwarding): add playwrightclient support (#6786) 2021-06-02 23:35:17 +02:00
selectors.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
socksSocket.ts chore(port-forwarding): validate forwarded ports on the client side (#6756) 2021-05-26 16:51:38 +02:00
stream.ts fix(downloads): make path/saveAs work when connected remotely (#3634) 2020-08-26 12:46:30 -07:00
tracing.ts feat(tracing): introduce _reset() and _export() (#7974) 2021-08-03 16:08:06 -07:00
types.ts feat(test-runner): introduce steps (#7952) 2021-08-02 17:17:20 -07:00
video.ts fix(connect): handle disconnect in various situations (#6276) 2021-05-06 09:34:06 -07:00
waiter.ts fix(trace-viewer): include waitFor* in trace viewer (#7413) 2021-06-30 17:56:48 -07:00
worker.ts chore: remove hard-coded wrapApi names (#7347) 2021-06-28 13:27:38 -07:00