Shadow DOM has become an increasingly common element in modern web applications, making it a challenge for automation testers. Traditional…