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
Almost 85% people are giving the wrong answer on this poll.
Sad part is that we only learnt that there will be either 0 matching node or more than 0 matching node but We never learnt about wrong/right syntax of XPath.

https://www.linkedin.com/posts/chropath-creator_xpath-activity-6787303666832543744-ZI4u
#Fact: Knowing the fact that DevTools is not the right platform to verify XPath & Selectors because it also includes the string match as well as iframe elements in total count, are you still verifying xpath in browser DevTools?๐Ÿง‘โ€๐Ÿ’ป๐Ÿค”
#concepts #xpath #selectorshub
The biggest myth in automation "We don't use a tool, we write our own XPath."
The fact is we all use a tool to write & verify XPath which is the Browser DevTools.
But we should understand if it is right or wrong tool to verify?

https://youtu.be/0V6CuTHhsME


#xpath #myths #devtools #selectorshub
#XPathTip: //tagname[text()]
It will return the elements which has the text.
For ex- //a[text()] -> This is the XPath for all the links which has the text.

#xpath