diff --git a/packages/playwright-core/src/server/bidi/bidiExecutionContext.ts b/packages/playwright-core/src/server/bidi/bidiExecutionContext.ts index 1d063f6e6e..04ebc6137b 100644 --- a/packages/playwright-core/src/server/bidi/bidiExecutionContext.ts +++ b/packages/playwright-core/src/server/bidi/bidiExecutionContext.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import { assertUnreachableWithError } from 'playwright-core/lib/common/types'; +import { assertUnreachableWithError } from '../../common/types'; import { parseEvaluationResultValue } from '../isomorphic/utilityScriptSerializers'; import * as js from '../javascript'; import type { BidiSession } from './bidiConnection'; diff --git a/packages/playwright-core/src/server/injected/selectorEvaluator.ts b/packages/playwright-core/src/server/injected/selectorEvaluator.ts index c41928254f..ba9db24bf9 100644 --- a/packages/playwright-core/src/server/injected/selectorEvaluator.ts +++ b/packages/playwright-core/src/server/injected/selectorEvaluator.ts @@ -20,7 +20,7 @@ import { isElementVisible, parentElementOrShadowHost } from './domUtils'; import { type LayoutSelectorName, layoutSelectorScore } from './layoutSelectorUtils'; import { elementMatchesText, elementText, shouldSkipForTextMatching, type ElementText } from './selectorUtils'; import { normalizeWhiteSpace } from '../../utils/isomorphic/stringUtils'; -import { assertUnreachableWithError } from 'playwright-core/lib/common/types'; +import { assertUnreachableWithError } from '../../common/types'; type QueryContext = { scope: Element | Document;