I have been trying to create test object during runtime which has shadow root. I have yet to do so, but while doing so, I have made the following observations: -
below i have explained the 3 different cases and validated ElementPresent, ElementVisible and Click result against each one of them
case 1 -
ElementPresent - TRUE
ElementVisible - TRUE
Click - Clicked successfully
case 2 -
ElementPresent - TRUE
ElementVisible - FALSE
Click - Element not interactable
case 3 -
ElementPresent - TRUE
ElementVisible - FALSE
Click - Element not interactable
Que 1 - Help me understand the difference between these 3 and why the case 1 works but not case 2 and case 3.
Que 2 - How to create test object with shadow root during runtime
I have referred multiple old post regarding OR and I believe you guys can surely help me on this . @kazurayam @Russ_Thomas @grylion54