mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-12-05 03:47:07 +00:00
10 lines
226 B
TypeScript
10 lines
226 B
TypeScript
import { Frame } from "playwright";
|
|
|
|
export const waitForExplorer = async (): Promise<Frame> => {
|
|
await page.waitForSelector("iframe");
|
|
await page.waitForTimeout(5000);
|
|
return page.frame({
|
|
name: "explorer",
|
|
});
|
|
};
|