Login example

Example Code

import {Browser} from 'kogi'

const page = await Browser.start("YOUR API KEY", "local", "Example #1")

await page.navigate("https://kogiqa.com/static/examples/login/clean.html")
// OR => await page.navigate("https://kogiqa.com/static/examples/login/fancy.html")
// OR => await page.navigate("https://kogiqa.com/static/examples/login/chaotic.html")
await page.type("Username:","max")
await page.type("Password:","admin")
await page.click("Sign In")

await page.close()