Try this…
String js = "$('#policy_options_6469').modal('show');"
WebUI.executeJavaScript(js, null)
Or this…
String js = "$('.policy_options').click();"
WebUI.executeJavaScript(js, null)
I have my doubts though. I need to see a lot more of the HTML to be certain either of these are robust solutions (for example, .policy_options
may not be a unique class). In future, please provide more details.