import type { ChainablePromiseElement, FrameQuery } from '../../types.js'; type FrameTarget = string | WebdriverIO.Element | ChainablePromiseElement | FrameQuery | FramePredicate; type FramePredicate = (context: { context: string; url: string; }) => boolean | Promise; /** * Get a frame (`