Dominik Deren
f8fbfe28fa
feat(trace viewer): Adds _debugName BrowserContextOption to let users define a name for their contexts ( #5205 )
...
This change is adding a new property on the BrowserContextOptions class called `_debugName`. This property allows defining a user-friendly name for the browser context, and currently it is being used in one place, the Trace Viewer. When user provides the new value in the following way:
```typescript
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch();
const context = await browser.newContext({ _traceDir: __dirname, _debugName: 'My custom testcase name' });
await context.close();
await browser.close();
})();
```
The `_debugName` will be saved in the `*.trace` file for this browser context, on the `context-created` event, under the key `debugName`.
Later, when such a trace is displayed using Trace Viewer, the `debugName` will be displayed in the dropdown in the top right part of the app instead of the actual trace filename.
Fixes #5157 .
2021-01-28 10:50:57 -08:00
..
2021-01-22 06:51:59 -08:00
2021-01-13 12:08:14 -08:00
2021-01-26 11:06:05 -08:00
2021-01-06 15:08:28 -08:00
2021-01-27 17:05:56 -08:00
2021-01-13 12:08:14 -08:00
2020-10-13 13:18:36 -07:00
2020-11-23 15:23:31 -08:00
2020-11-04 11:20:02 -08:00
2020-09-26 10:59:27 -07:00
2020-12-14 16:03:52 -08:00
2021-01-22 09:58:31 -08:00
2020-09-26 10:59:27 -07:00
2021-01-25 16:37:33 -08:00
2020-09-26 16:05:58 -07:00
2020-09-26 10:59:27 -07:00
2020-09-26 16:05:58 -07:00
2020-12-02 13:48:44 -08:00
2021-01-24 08:44:11 -08:00
2020-09-26 10:59:27 -07:00
2020-09-26 16:05:58 -07:00
2021-01-23 02:22:40 +03:00
2020-09-26 10:59:27 -07:00
2020-12-14 16:03:52 -08:00
2020-09-26 10:59:27 -07:00
2020-09-26 10:59:27 -07:00
2020-10-19 17:40:25 -07:00
2020-12-01 05:26:53 -08:00
2020-10-27 00:04:39 -07:00
2021-01-23 02:22:40 +03:00
2021-01-11 15:53:45 -08:00
2020-11-24 18:14:57 -08:00
2020-11-16 16:18:50 -08:00
2020-12-09 15:06:57 -08:00
2020-10-30 10:34:24 -07:00
2020-09-26 16:05:58 -07:00
2020-11-13 14:47:55 -08:00
2020-08-28 00:32:00 -07:00
2020-12-28 11:14:33 -08:00
2020-09-26 10:59:27 -07:00
2021-01-23 02:22:40 +03:00
2020-11-20 15:19:39 -08:00
2020-10-13 22:40:25 -07:00
2020-11-19 13:55:14 -08:00
2020-09-26 10:59:27 -07:00
2020-09-26 10:59:27 -07:00
2021-01-08 17:36:17 -08:00
2020-09-26 10:59:27 -07:00
2020-09-26 10:59:27 -07:00
2021-01-23 02:22:40 +03:00
2020-09-26 10:59:27 -07:00
2020-09-26 10:59:27 -07:00
2021-01-23 02:22:40 +03:00
2020-09-26 10:59:27 -07:00
2020-09-26 10:59:27 -07:00
2020-09-26 10:59:27 -07:00
2021-01-08 12:27:54 -08:00
2020-11-04 22:42:35 -08:00
2020-09-26 10:59:27 -07:00
2020-09-26 10:59:27 -07:00
2021-01-23 02:22:40 +03:00
2020-12-28 15:44:24 -08:00
2020-11-20 15:19:39 -08:00
2020-09-26 10:59:27 -07:00
2020-09-26 10:59:27 -07:00
2020-11-20 08:10:27 -08:00
2020-09-26 10:59:27 -07:00
2020-11-03 11:30:59 -08:00
2021-01-25 07:45:21 -08:00
2020-10-29 16:12:30 -07:00
2020-09-26 10:59:27 -07:00
2020-12-10 15:04:57 -08:00
2020-09-26 10:59:27 -07:00
2020-09-26 10:59:27 -07:00
2020-09-26 10:59:27 -07:00
2021-01-04 13:54:55 -08:00
2020-09-26 10:59:27 -07:00
2021-01-17 12:09:20 -08:00
2020-10-13 13:18:36 -07:00
2020-12-16 07:28:44 -08:00
2020-09-26 10:59:27 -07:00
2020-09-26 16:05:58 -07:00
2020-09-26 10:59:27 -07:00
2020-12-16 07:28:44 -08:00
2020-12-16 07:28:44 -08:00
2021-01-22 09:58:31 -08:00
2021-01-08 17:36:17 -08:00
2020-12-16 07:28:44 -08:00
2020-12-16 07:28:44 -08:00
2020-12-16 07:28:44 -08:00
2020-12-16 07:28:44 -08:00
2020-12-16 07:28:44 -08:00
2020-12-16 07:28:44 -08:00
2020-12-16 15:29:42 -08:00
2020-11-04 11:00:25 -08:00
2020-12-16 07:28:44 -08:00
2020-12-23 12:44:47 -08:00
2020-12-16 07:28:44 -08:00
2020-09-26 10:59:27 -07:00
2020-09-26 10:59:27 -07:00
2021-01-08 16:15:05 -08:00
2020-09-26 10:59:27 -07:00
2021-01-23 02:22:40 +03:00
2020-09-26 10:59:27 -07:00
2020-09-26 16:05:58 -07:00
2020-12-18 14:46:12 -08:00
2020-09-26 10:59:27 -07:00
2021-01-04 13:54:55 -08:00
2021-01-25 13:40:19 -08:00
2020-12-16 07:28:44 -08:00
2021-01-25 14:49:51 -08:00
2021-01-22 15:58:53 -08:00
2020-12-16 07:28:44 -08:00
2021-01-23 02:22:40 +03:00
2020-12-16 07:28:44 -08:00
2020-11-05 23:17:27 -08:00
2020-12-16 07:28:44 -08:00
2020-12-16 07:28:44 -08:00
2021-01-23 02:22:40 +03:00
2021-01-12 15:56:12 -08:00
2020-12-29 09:59:35 -08:00
2020-12-23 09:53:14 -08:00
2021-01-19 11:27:05 -08:00
2020-09-26 10:59:27 -07:00
2020-09-26 10:59:27 -07:00
2020-09-26 10:59:27 -07:00
2020-12-16 07:28:44 -08:00
2020-12-18 14:46:12 -08:00
2020-09-26 10:59:27 -07:00
2021-01-22 06:49:59 -08:00
2021-01-22 06:49:59 -08:00
2020-12-16 07:28:44 -08:00
2020-12-16 07:28:44 -08:00
2021-01-27 17:02:09 -08:00
2020-10-05 17:03:24 -07:00
2021-01-23 02:22:40 +03:00
2020-11-02 19:42:05 -08:00
2020-09-26 10:59:27 -07:00
2021-01-23 02:22:40 +03:00
2021-01-04 15:32:31 -08:00
2020-11-23 15:23:31 -08:00
2020-11-24 06:50:40 -08:00
2021-01-05 20:31:50 -08:00
2021-01-25 14:49:26 -08:00
2021-01-18 20:40:13 -08:00
2021-01-21 16:39:49 -08:00
2020-12-23 12:44:47 -08:00
2021-01-25 14:19:07 -08:00
2020-11-20 15:19:39 -08:00
2020-11-16 10:14:37 -08:00
2021-01-28 10:50:57 -08:00
2020-08-21 09:53:02 -07:00
2020-09-26 10:59:27 -07:00
2021-01-22 09:58:31 -08:00
2020-11-09 16:16:10 -08:00