Mod?rn w?b applications incr?asingly r?ly on advanc?d fram?works and compon?nts, oft?n using Shadow DOM for ?ncapsulating parts of th? UI. Whil? this improv?s th? structur? and modularity of w?b compon?nts, it can pr?s?nt chall?ng?s in S?l?nium t?st automation sinc? Shadow DOM ?l?m?nts ar? not acc?ssibl? using traditional S?l?nium locators. In this