how to check if chebox is already checked or not. I tried finding checked attribute in UI explorer but checked attribute is not present for that selector. and If still I am trying to get attribute of that it gives error- HRESULT E_FAIL has been returned from a call to a COM component.
Basically requirement is just to check if it is checked or unchecked. Ii is not allowed to check or uncheck that checkbox.
I am using salesforce lightening environment. In salesforce classic I am getting checked attribute.