Automation Laboratories
63 subscribers
16 photos
2 videos
98 links
We provide services ๐Ÿ”ถ Software Development ๐Ÿ”ถ DevOps & Agile ๐Ÿ”ถ Automation ๐Ÿ”ถ Testing ๐Ÿ”ถ Mobile ๐Ÿ”ถ Performance ๐Ÿ”ถ Security ๐Ÿ”ถ API ๐Ÿ”ถ ETL ๐Ÿ”ถ AI ๐Ÿ”ถ IOT ๐Ÿ”ถ Auditing ๐Ÿ”ถ AWS ๐Ÿ”ถ Azure cloud ๐Ÿ”ถ AWS ๐Ÿ”ถ Hiring ๐Ÿ”ถ Digital Marketing ๐Ÿ”ถ On-demand Resources
Download Telegram
#learning #shadowdom : We canโ€™t access the shadow dom elements like other web elements.
Like driver.findElement(..) canโ€™t be used directly to handle shadow dom elements.
1) Here first we need to locate the host element of shadow root then
2) Get the access of shadow dom using JS through host element, it can be called as last element.
3) Now shadow dom elements can be accessed using this last element.


To understand more about it in details with practical scenario, please checkout this video tutorial-
https://www.youtube.com/watch?v=yVmLU9VzZWw


#selectorshub #shadowdom #selenium #XPath