model

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Element

type Element struct {
	ElementName    string        `yaml:"elementName"`
	ElementDetails string        `yaml:"elementDetails"`
	IsBaseElement  bool          `yaml:"isBaseElement"`
	LocateParams   []Param       `yaml:"locateParams"`
	LocatePattern  LocatePattern `yaml:"locatePattern"`
	Functions      []Function    `yaml:"functions"`
}

func (*Element) Save

func (e *Element) Save(savePath string) error

type Function

type Function struct {
	Name      string  `yaml:"name"`
	Params    []Param `yaml:"params"`
	Comment   string  `yaml:"comment"`
	Operation string  `yaml:"operation"`
}

type LocatePattern

type LocatePattern struct {
	Xpath string `yaml:"xpath"`
}

type Page

type Page struct {
	PageName    string `yaml:"pageName"`
	PageDetails string `yaml:"pageDetails"`
}

func (*Page) Save

func (p *Page) Save(savePath string) error

type Param

type Param struct {
	Param   string `yaml:"param"`
	Comment string `yaml:"comment"`
	Type    string `yaml:"type"`
}

Jump to

Keyboard shortcuts

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