Skip to content

Commit 500c433

Browse files
committed
Format browser types def (pnpm dprint fmt)
1 parent abe4704 commit 500c433

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

types/k6/browser.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,10 @@ export interface Frame {
17731773
* @param options The options to use.
17741774
* @returns The first element found that matches the selector.
17751775
*/
1776-
waitForSelector(selector: string, options?: ElementStateFilter & TimeoutOptions & StrictnessOptions): Promise<ElementHandle>;
1776+
waitForSelector(
1777+
selector: string,
1778+
options?: ElementStateFilter & TimeoutOptions & StrictnessOptions,
1779+
): Promise<ElementHandle>;
17771780

17781781
/**
17791782
* Wait for the given timeout to elapse.

types/k6/experimental/browser.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface CPUProfile {
3232
/**
3333
* rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).
3434
*
35-
* @deprecated Use "k6/browser" module instead.
35+
* @deprecated Use "k6/browser" module instead.
3636
*/
3737
rate: number;
3838
}
@@ -47,7 +47,7 @@ export interface NetworkProfile {
4747
/**
4848
* Minimum latency from request sent to response headers received (ms).
4949
*
50-
* @deprecated Use "k6/browser" module instead.
50+
* @deprecated Use "k6/browser" module instead.
5151
*/
5252
latency: number;
5353

0 commit comments

Comments
 (0)