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