Skip to content

Commit c2aa431

Browse files
fix: re-generate types based on specifciation updates (GoogleChromeLabs#101)
1 parent 015c6a3 commit c2aa431

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

out/gen/main.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ export declare namespace BrowsingContext {
426426
type Locator =
427427
| BrowsingContext.AccessibilityLocator
428428
| BrowsingContext.CssLocator
429+
| BrowsingContext.ContextLocator
429430
| BrowsingContext.InnerTextLocator
430431
| BrowsingContext.XPathLocator;
431432
}
@@ -444,6 +445,14 @@ export declare namespace BrowsingContext {
444445
value: string;
445446
};
446447
}
448+
export declare namespace BrowsingContext {
449+
type ContextLocator = {
450+
type: 'context';
451+
value: {
452+
context: BrowsingContext.BrowsingContext;
453+
};
454+
};
455+
}
447456
export declare namespace BrowsingContext {
448457
type InnerTextLocator = {
449458
type: 'innerText';

src/gen/main.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ export namespace BrowsingContext {
428428
export type Locator =
429429
| BrowsingContext.AccessibilityLocator
430430
| BrowsingContext.CssLocator
431+
| BrowsingContext.ContextLocator
431432
| BrowsingContext.InnerTextLocator
432433
| BrowsingContext.XPathLocator;
433434
}
@@ -446,6 +447,14 @@ export namespace BrowsingContext {
446447
value: string;
447448
};
448449
}
450+
export namespace BrowsingContext {
451+
export type ContextLocator = {
452+
type: 'context';
453+
value: {
454+
context: BrowsingContext.BrowsingContext;
455+
};
456+
};
457+
}
449458
export namespace BrowsingContext {
450459
export type InnerTextLocator = {
451460
type: 'innerText';

0 commit comments

Comments
 (0)