mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-26 23:46:47 +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",
|
|
});
|
|
};
|