Fixed broken playwright-core import

This commit is contained in:
Adam Gastineau 2024-12-17 10:16:20 -08:00
parent f058ca647c
commit 932785b132
2 changed files with 2 additions and 2 deletions

View file

@ -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';

View file

@ -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;