Closed mccmrunal closed 5 months ago
hi, well, that quite an unformatted thing you posted here. But if I guesstimate that correctly, you're asking about right-clicking on a UI5 control. A way to do this is
// get ourselves the wdio representation of the wdi5 control
const $control = await browser.asControl({selector}).getWebElement()
await $control.click({button: "right"})
See https://webdriver.io/docs/api/element/click hth, v.
hey 👋 - silence for 30 days 🤐 ... anybody? 😀
closed 📴 because silencio 🤫 since an additional 14 days after staleness 📠
I want to apply a filter on column header iApplyFilter: async (extractId) => { let selector = { controlType: "sap.ui.table.Column", descendant:{ controlType: "sap.m.Label", properties:{ text:"Extract ID" } } } // let filterHeader = await browser.asControl({ selector }).contextClick(); // Simulate right-click