interface IElementLocatorFactory (View source)

A factory for producing IElementLocators. It is expected that a new IElementLocator will be returned per call.

Methods

createLocator(Property $property)

When a field on a class needs to be decorated with an IElementLocator this method will be called.

Expectation
shouldReceive(string $name)

No description

Details

IElementLocator createLocator(Property $property)

When a field on a class needs to be decorated with an IElementLocator this method will be called.

Parameters

Property $property Property.

Return Value

IElementLocator

Expectation shouldReceive(string $name)

Parameters

string $name

Return Value

Expectation