Captured method call from the Given/When/Then proxy chain.
Each call records the OPA5 scope type, target page, and method chain. The accessor flag distinguishes property access from function calls.
accessor
// When.onTheMainPage.onFilterBar().iChangeSearchField('x')const call: ProxyMethodCall = { type: 'When', target: 'onTheMainPage', methods: [ { name: 'onFilterBar', accessor: false }, { name: 'iChangeSearchField', args: ['x'], accessor: false }, ],}; Copy
// When.onTheMainPage.onFilterBar().iChangeSearchField('x')const call: ProxyMethodCall = { type: 'When', target: 'onTheMainPage', methods: [ { name: 'onFilterBar', accessor: false }, { name: 'iChangeSearchField', args: ['x'], accessor: false }, ],};
Readonly
Captured method call from the Given/When/Then proxy chain.
Remarks
Each call records the OPA5 scope type, target page, and method chain. The
accessorflag distinguishes property access from function calls.Example