mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-25 15:06:55 +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",
|
|
});
|
|
};
|