Crossword 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/crossword")

// Organ that pumps blood: HEART
await page.type("1","HEART")

// Dwellings (5): HOMES
await page.type("6","O")
await page.type("9","M")
await page.type("14","E")
await page.type("17","S")

// Unit of chemistry: MOLAR
await page.type("10","olar")

// Metal mixture: ALLOY
await page.type("7","L")
await page.type("15","O")
await page.type("19","Y")

// Secret agent: SPY
await page.type("18","P")

// Portable light: TORCH
await page.type("8","O")
await page.type("16","C")
await page.type("20","H")


await page.close()