How to add conditions to selector attribute

I have a selector type as

html app=‘chrome.exe’ omit:title=‘SEC*’
webctrl tag=‘INPUT’ name=‘company’ type=‘text’

I want to add condition as either name=‘company’ or ‘business name’… how can I do that

for ex: for this url: https://www.concord-sots.ct.gov/CONCORD/online?sn=InquiryServlet&eid=99
has selector as
html app=‘chrome.exe’
webctrl tag=‘INPUT’ name=‘businessName’ type=‘text’

and this url: https://www.sec.gov/edgar/searchedgar/companysearch.html
has selector as
html app=‘chrome.exe’
webctrl tag=‘INPUT’ name=‘company’ type=‘text’

I want to run only one selector function with adding OR condition to name attribute…

Set your variable = myVariable and change your selector to:

Then create a variable called mySelector =
html app='chrome.exe’
webctrl tag=‘INPUT’ name=‘"+myVariable+"’ type=‘text’

Then in the activity use mySelector as your selector rather than the orginal value.

RD

if I want to get that value of that radio button, for example, I clicked on hypertext markup language’s radio button so to store that value into variable by just hitting the radio button

Could you elaborate a bit on this? Your reply wasn’t clear to me.