Merge pull request #40 from amhsirak/develop

feat(core): handle multiple custom actions together
This commit is contained in:
Karishma Shukla
2024-09-23 13:05:49 +05:30
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -253,7 +253,7 @@ export default class Interpreter extends EventEmitter {
* calls all mentioned functions on the Page object.\
* \
* Manipulates the iterator indexes (experimental feature, likely to be removed in
* the following versions of waw-interpreter)
* the following versions of maxun-core)
* @param page Playwright Page object
* @param steps Array of actions.
*/

View File

@@ -60,7 +60,7 @@ export default class Preprocessor {
}
// Recursion general case
return Object.values(object)
return (Object.values(object) as any[])
.reduce((p: string[], v: any): string[] => [...p, ...getParamsRecurse(v)], []);
}
return [];