Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
but also trigger for tests + publish :)
  • Loading branch information
vobu committed Feb 6, 2025
1 parent c7307c6 commit 5d34470
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client-side-js/allControls.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@ async function clientSide_allControls(controlSelector, browserInstance) {
.findAllDOMElementsByControlSelector(controlSelector)
.then((domElements) => {
// window.wdi5.Log.info('[browser wdi5] control located! - Message: ' + JSON.stringify(domElement));
// ui5 control
let returnElements = []
domElements.forEach((domElement) => {
const ui5Control = window.wdi5.getUI5CtlForWebObj(domElement)
const id = ui5Control.getId()
window.wdi5.Log.info(`[browser wdi5] control with id: ${id} located!`)
const aProtoFunctions = window.wdi5.retrieveControlMethods(ui5Control)
// @type [String, String?, String, "Array of Strings"]
returnElements.push({ domElement: domElement, id: id, aProtoFunctions: aProtoFunctions })
returnElements.push({ domElement, id, aProtoFunctions })
})

done({ status: 0, result: returnElements })
Expand Down

0 comments on commit 5d34470

Please sign in to comment.