video_input_base

This module provides the Robot interface for Video-driven interaction and assertion.

  • Type: LIBRARY

  • Scope: GLOBAL

Keywords

Abstractmethod

A decorator indicating abstract methods.

Requires that the metaclass is ABCMeta or derived from it. A class that has a metaclass derived from ABCMeta cannot be instantiated unless all of its abstract methods are overridden. The abstract methods can be called using any of the normal 'super' call mechanisms. abstractmethod() may be used to declare abstract methods for properties and descriptors.

Usage:

class C(metaclass=ABCMeta): @abstractmethod def my_abstract_method(self, arg1, arg2, argN): ...

Positional and named arguments

Name

Type

Default Value

Kind

Required

funcobj

POSITIONAL_OR_NAMED

Yes


Log Image

Log an image.

Args: image: Image to log msg: Message to log with the image

Positional and named arguments

Name

Type

Default Value

Kind

Required

image

None

POSITIONAL_OR_NAMED

Yes

msg

string

POSITIONAL_OR_NAMED

No


To Image

Convert obj to instance of Pillow's Image class.

Positional and named arguments

Name

Type

Default Value

Kind

Required

obj

POSITIONAL_OR_NAMED

Yes


To Region

Convert obj to instance of Region.

Positional and named arguments

Name

Type

Default Value

Kind

Required

obj

Any

POSITIONAL_OR_NAMED

Yes