html

package
v0.0.0-...-e26fe04 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package html implements a basic html driver for dom

It uses "golang.org/x/net/html" as the basis

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blur

func Blur()

Blur blurs any active elements

func Click

func Click(elt dom.Element)

Click clicks the provided element

func Focus

func Focus(elt dom.Element)

Focus focuses the provided element (after blurring the previous)

func GetCurrentResources

func GetCurrentResources() []string

GetCurrentResources returns the set of resources in use currently. This is meant for testing leaks

func SetValue

func SetValue(e dom.Element, value string)

SetValue sets the value for the provided element

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL