fix(types): fix driverForSession declaration
MODIFY
packages/types/lib/driver.ts
packages/types/lib/driver.ts
@@ -318,7 +318,7 @@ export interface Core<C extends Constraints = BaseDriverCapConstraints> {
getManagedDrivers(): Driver[];
clearNewCommandTimeout(): Promise<void>;
logEvent(eventName: string): void;
- driverForSession(sessionId: string): Core | null;
+ driverForSession(sessionId: string): Core<C> | null;
}
/**

fix(types): fix driverForSession declaration