Interface: ProxyMethodCall
Defined in: src/fe/types.ts:80
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:83
target​
readonlytarget:string
Defined in: src/fe/types.ts:82
type​
readonlytype:"Given"|"When"|"Then"
Defined in: src/fe/types.ts:81