hi,
Sorry not read clearly your issue
you have already used CSS Selectors
try to use CSS Selector as locator
in browser
inspect → copy → CSS Selector
and use javascript
String js = ‘document.querySelector(“#my-button”).click();’
WebUI.executeJavaScript(js, null)
some info will found here
1 Like