In the context of increasingly complex web projects, developers are opting for the shadow DOM over traditional iFrames due to its lighter and less restrictive nature for embedding third-party content. Shadow DOM, a specialized version of the Document Object Model, isolates its structure in a shadow tree, which can be either open or closed, affecting accessibility for UI testing tools. While closed shadow DOMs present challenges for many test automation tools, testRigor offers a solution by utilizing Optical Character Recognition (OCR) technology and visible text to automate tests effectively. Users can enable OCR in testRigor's settings to facilitate this process, allowing them to craft automated tests that interact with shadow DOM elements by relying on text visibility.