Interface: ProxyMethodCall
Defined in: src/fe/types.ts:89
Captured method call from the Given/When/Then proxy chain.
Remarks
Each call records the OPA5 scope type, target page, and method chain.
The accessor flag distinguishes property access from function calls.
Example
// When.onTheMainPage.onFilterBar().iChangeSearchField('x')
const call: ProxyMethodCall = {
type: 'When',
target: 'onTheMainPage',
methods: [
{ name: 'onFilterBar', accessor: false },
{ name: 'iChangeSearchField', args: ['x'], accessor: false },
],
};
Properties
methods
readonlymethods: readonlyobject[]
Defined in: src/fe/types.ts:92
target
readonlytarget:string
Defined in: src/fe/types.ts:91
type
readonlytype:"Given"|"When"|"Then"
Defined in: src/fe/types.ts:90