eval

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eval

func Eval(ctx context.Context, client *cdp.Client, exp string, ret bool, async bool) (core.Value, error)

func Method

func Method(
	ctx context.Context,
	client *cdp.Client,
	objectID runtime.RemoteObjectID,
	methodName string,
	args []runtime.CallArgument,
) (*runtime.RemoteObject, error)

func MethodQuerySelector

func MethodQuerySelector(
	ctx context.Context,
	client *cdp.Client,
	objectID runtime.RemoteObjectID,
	selector string,
) (runtime.RemoteObjectID, error)

func Param added in v0.7.0

func Param(input core.Value) string

func ParamFloat added in v0.7.0

func ParamFloat(param float64) string

func ParamInt added in v0.7.0

func ParamInt(param int64) string

func ParamString

func ParamString(param string) string

func PrepareEval

func PrepareEval(exp string) string

func Property

func Property(
	ctx context.Context,
	client *cdp.Client,
	objectID runtime.RemoteObjectID,
	propName string,
) (core.Value, error)

func Unmarshal

func Unmarshal(obj *runtime.RemoteObject) (core.Value, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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