hk_bot/automatization.ts

9 lines
299 B
TypeScript
Raw Normal View History

2022-12-02 16:41:38 +01:00
import Hero from "@ulixee/hero";
import { AccountInterface } from "./interfaces/databaseInterface";
export const vertification=async function vertification(worker: AccountInterface,hero: Omit<Hero, "then">,url: string) {
await hero.goto(url);
await hero.waitForLoad('AllContentLoaded');
}