I need to find all Input elements (sap.m.Input
) on a website.
I know I can find an element by its ID via sap.ui.getCore().byId()
but this does not help me here.
I am looking for something like sap.ui.getCore().getByType("sap.m.Input")
. How do I do this?
Edit: I do not have access to the source code of the website, I am injecting a javascript via a chrome extension on websites which use SAPUI5