I have one weird scenario. I create a html page, add script tags to it. The script tags contain the UI component's js files, the component is fully developed using react js.
My html:
I use a local webserver to launch this page and able to see my component, in this case it is a 'modal'.
I write java selenium tests in a maven env to test this modal, and it tests it without any issues.
My requirement is now to get code coverage for this component by running my java selenium tests (or even test it manually).
Is this possible, doable. I did a lot of googling, couldn't find anything proper.
Any help is most appreciated.

