fix(types): add method for elementShadowRoot
MODIFY
packages/types/src/index.ts
packages/types/src/index.ts
@@ -245,6 +245,7 @@ export interface ExternalDriver extends Driver {
getLocation?(elementId: string): Promise<Position>;
getLocationInView?(elementId: string): Promise<Position>;
getSize?(elementId: string): Promise<Size>;
+ elementShadowRoot?(elementId: string): Promise<Element>;
equalsElement?(elementId: string, otherElementId: string): Promise<boolean>;
submit?(elementId: string): Promise<void>;
keys?(value: string[]): Promise<void>;

fix(types): add method for elementShadowRoot