This is very very useful for angular or react applications. I faced this issue lot of times, I used to do it with f8 key but now this is the coolest way you taught us. Thanks a lot man!
Thanks a lot Naveen for sharing this. These are components which goes off when focus is lost. so when we switch to developer tools , the focus is lost and the component goes off. In developer tools , inspect tab click cmd+shift+p(short cut will be different in windows OS) Run command focused Select emulate a focused page option now you will see the dropdown and can inspect the elements
@@nayanagopinath669 there is dropdown in my application to select country and titles which get disappears while trying to get xpath, so as per the video i tried removing blur property from event listener but still i was not able to inspect. I tried your approach and it worked. Thanks!
It may be small thing and this willl very useful tips to automation community..thanks naveen It will really helpful if you share videos on all or major expected conditions(Webdriverwait) like staleness etc. in selenium when to use
You are really god gift for all the QA people who is already in industry and people who are looking for job, I donot think we need to apply our brains while desgining framework or designing the scripts :) , simply coming to your channel and refer the videos and getting knowledge. My Request , can you please do a video on Common/reusable methods in selenium webdriver which can be accessed across the frame work, I found Common methods for Webdriverwait, type, click . Can you please do a common methods for Calender , Bootstrap dropdowns, webtables, Search functionalitys , Auto Suggestions, Take screenshots ...I hope you can do it for your students :) because it is cakewalk for you :)
Thanks a lot Naveen for sharing this. We can use the below script from browser dev tool console as an alternative for the same concept setTimeout(function(){debugger;}, 5000)
Please open your browser dev console paste the script and hit enter. After 5 seconds the ui will freeze so that with the help of the inspector tool you can start inspecting the desired elements
@@adityaphadnis1551 please follow below steps 1. Open your browser dev tool 2. Select the console tab 3. Paste the above code and hit enter to execute. The browser will freeze after the mentioned time period
1st collapse all the elements inside the body block and keep the body tag expanded 2nd click on you element where the disappearing elements is enabling 3rd while 2nd step note which is the parent tag of your web element 4th after that, right click on parent tag and click on Break on > subtree modification 5th again try to access element that opens the disappearing value. And access the elements
Hi Naveen, thanks for sharing this. But it is not working in my case, I deleted the blur property as well but the moment I tried to inspect the element, the same has been selected. Please let me know if you know some other way
Hello sir, your videos are really very helpful thank you for posting such an useful content. And I really want you create one video on, when user Zoom on image at that time cursor symbol gets change and capture the element. is that possible to do???
Hi Naveen, Hope you are doing good, This trike is very useful and I tried to use it but it's not working in my application can you please share any workaround it
Hey Naveen, Hope you are doing good☺️. After watching your videos I am greatly interested towards testing now a days. Actually I am working in SAP ABAP area. I want a small suggestion from you, if I want to take a swap to automation can you recommend me which one I can start learning with... which have good scope and offer a good package... because I am greatly confused as I am not having any experience towards this area... Your videos are really interesting☺️ Thank you for all your efforts for sharing your knowledge with us without cost which is greatly appreciable🤩 new subscriber🤙🥳 Looking forward for your suggestion. Thank you in advance🙂
Can you make videos on Linux . I believe Linux becoming more powerful to automate in USA . I believe you should start making videos on LINUX which will help many people .
@Naveen AutomationLabs Another trick is when the list appeared, press tab key manually to reach inspect button and hit enter key. You will find element source code without disabling blur property for those objects....
This won't work if you have many elements on the page like Flipkart or Amazon. In fact if you try the same on Flipkart and moving manually to inspect icon and press enter. List is getting disappeared.
Hi Naveen can you help to select from that more dropdown in flipkart I am giving the xpath right but elements list is not getting any entry size is still 0.
Hi Naveen, thanks your videos are really helpful! I have a query, in which when I am clicking on a button it is giving me one id, then have to wait overnight, and then next day login on the other URL where this id will have few account numbers and other data which I have to verfiy. but waiting overnight is must for data to generate , How this can be managed using Selenium ?
In my case, i could not able to find BLUR property itself in the Event Listener and its not at all visible. Please suggest alternative solution for this.
Hi I am also facing the same issue of hidden value i cant identify the element .Like you said in the video delete 3 items from blur if it is not then focusout that too is not present can you suggest something else
Hi naveen..have doubt in inspect the child category of flipkart..my interview question ..open flipcart- click any one category-find out xpath of child category...little bit difficult to find out the xpath of this..can you guide me how to take xpath for this?
For those who cannot find ‘blur’ event, alternatively you can remove ones in ‘focusout’
Thanks Bek, most useful comment. I was confused as I don't have blur in my Event Listerners. I removed it from 'focusout'
Thanks....😊
You really saved me, dear! I've tried so many options, but they didn't work in my case.
Thanks a lot, saved my day
Thanks bek, very useful for me as well
This is very very useful for angular or react applications. I faced this issue lot of times, I used to do it with f8 key but now this is the coolest way you taught us. Thanks a lot man!
You are a great boss... Whenever I face issue I feel you knew in advance and you made on exactly same topic... Respect 🤜🤛
I was actually facing this issue and that too yesterday and today ur solution made my day....thank you so much sir
Thanks a lot Naveen for sharing this.
These are components which goes off when focus is lost. so when we switch to developer tools , the focus is lost and the component goes off.
In developer tools , inspect tab
click cmd+shift+p(short cut will be different in windows OS)
Run command focused
Select emulate a focused page option
now you will see the dropdown and can inspect the elements
This helps ..removing blur is not working for me.
@@swapnilpatil2189 can you pls eloborate the use case
@@nayanagopinath669 there is dropdown in my application to select country and titles which get disappears while trying to get xpath, so as per the video i tried removing blur property from event listener but still i was not able to inspect. I tried your approach and it worked. Thanks!
Ok understood..glad that this tip helped and worked for you.
Thanks for the trick it worked
Your brain is like an alien Naveen. This will help a lot
Thanks a lot, Naveen I have been facing this issue for a long time and you gave me a solution. Hats off to you👒👒.
It may be small thing and this willl very useful tips to automation community..thanks naveen
It will really helpful if you share videos on all or major expected conditions(Webdriverwait) like staleness etc. in selenium when to use
One of my interview question. Thanks for the useful video .Thanks a ton from USA
Thank you so much Naveen for this trick. I was struggling for such drop down since last 1 week. I will try like this and will let you know.
You are really god gift for all the QA people who is already in industry and people who are looking for job, I donot think we need to apply our brains while desgining framework or designing the scripts :) , simply coming to your channel and refer the videos and getting knowledge.
My Request , can you please do a video on Common/reusable methods in selenium webdriver which can be accessed across the frame work, I found Common methods for Webdriverwait, type, click . Can you please do a common methods for Calender , Bootstrap dropdowns, webtables, Search functionalitys , Auto Suggestions, Take screenshots ...I hope you can do it for your students :) because it is cakewalk for you :)
Thank you ! very useful. As a self-study, I really appreciate
Thank You Naveen....It is quite difficult to go with DOM BreakPoints...Now It is easy with this trick...😊
Thanks Naveen … these simple automation tricks makes life easier… previously i used to open debugger for it…now this will help a lot!
You have made solution for every automation issue Thanks @naveen
Thank you Naveen for this Quick video for this issue most of us face while automation 👍😊
Thank you. After struggling with this issue, your solution worked.
it's like magic to know this trick👏👏👏 really helpful... thank you Naveen😊
really usefull..Thank you sir...all your videos are very helpful
Thanks a lot Naveen for sharing this.
We can use the below script from browser dev tool console as an alternative for the same concept
setTimeout(function(){debugger;}, 5000)
Can you elaborate on it bro? Like how to use this?
Please open your browser dev console paste the script and hit enter. After 5 seconds the ui will freeze so that with the help of the inspector tool you can start inspecting the desired elements
this code is a savior! even blur sometime doesn't work in salesforce , like setup dropdown.. this code works. thanks very much.
@@rakeshkumarpanda1693 Can you please tell me after opening dev tool where I have to paste this script.
@@adityaphadnis1551 please follow below steps
1. Open your browser dev tool
2. Select the console tab
3. Paste the above code and hit enter to execute. The browser will freeze after the mentioned time period
1st collapse all the elements inside the body block and keep the body tag expanded
2nd click on you element where the disappearing elements is enabling
3rd while 2nd step note which is the parent tag of your web element
4th after that, right click on parent tag and click on Break on > subtree modification
5th again try to access element that opens the disappearing value. And access the elements
Alternative if blur is not present: focusout - same trick, remove all, worked on a react dropdown I was looking into.
thank you
Thanks Naveen. I was able to use this in my project with Angular JS drop downlist. Thank you again.
You are the best in explaining testing topics. Very helpful
Thank you so much for sharing this helpful knowledge with us. Continue the same ❤
Thank yo so much ..i was so stuck bcz of this issue... completely helpful!
Thank you very much sir!
This is very useful and informative tip.
Thank you so much Naveen sir your trick is working wonders for me forever grateful to you...
Always welcome
Thank you this has been extremely helpful!
Thanks for creating video on this.. It’s very useful and will make the life easier.. Great Job 👏👏
Thanks a lot Naveen, we appreciate you buddy.
Very Helpful.
Awesome!!
nice one. i have another way of handling this. but this is something different
Thank you so much it is very clear and easy process
Hi Naveen, thanks for sharing this. But it is not working in my case, I deleted the blur property as well but the moment I tried to inspect the element, the same has been selected. Please let me know if you know some other way
What I regularly do is in console ... setTimeout(()=>{debugger},8000) and quickly click the dropdown and wait 8 seconds
This is very useful video. Thank you so much for such amazing videos.
Hello sir, your videos are really very helpful thank you for posting such an useful content. And I really want you create one video on, when user Zoom on image at that time cursor symbol gets change and capture the element.
is that possible to do???
Great!! But did not work for my application. Still I am not able to inspect
Awesome trick ...hats off
Amazing! Thanks for sharing 🙏
very good. congratulations.
That's why you are awesome naveen!..
This is not working for lightning or Salesforce application.
Same issue
How did you resolve it then
You can try removing focusout option in Event listener only. That will work.
You're the best, thanks a lot, man!
You are Awesome ....Thanks for all Gyan
Hi Naveen,
Thank you so much for the awesome help.
Can you please suggest something to Automate Mobile App Drop Down?
You solved my problem. Thank you very much.
This video is very helpful...
Thanks!
I thought Ctrl+shift+C shortcut will work here but it didn't. Thank for the video sir.
Thankyou So much sir it was very helpful to me..
Hi Naveen, Hope you are doing good, This trike is very useful and I tried to use it but it's not working in my application can you please share any workaround it
Thank you for amazing information.
Thank you Naveen this was very helpful...
Hey Naveen, Hope you are doing good☺️. After watching your videos I am greatly interested towards testing now a days. Actually I am working in SAP ABAP area. I want a small suggestion from you, if I want to take a swap to automation can you recommend me which one I can start learning with... which have good scope and offer a good package... because I am greatly confused as I am not having any experience towards this area...
Your videos are really interesting☺️ Thank you for all your efforts for sharing your knowledge with us without cost which is greatly appreciable🤩 new subscriber🤙🥳
Looking forward for your suggestion. Thank you in advance🙂
Thank you so much ❤
Thank you Naveen it's really useful
Thank you Naveen for this video
In my case, I had to also remove the focusout property along with blur in order to inspect the suggestive list.
did u get answer?
Thanks a lot sir, it is very easy, have one more way, will share i.e. something we can do through console
Perfect Naveen..
Thank you a lot Naveen.
Thank you for info
Thanks for videro make more such type of video.
Awesome tip, thanks for sharing 👏
Too good. 😇
Can you make videos on Linux . I believe Linux becoming more powerful to automate in USA . I believe you should start making videos on LINUX which will help many people .
very useful explanation
Glad you think so!
@Naveen AutomationLabs Another trick is when the list appeared, press tab key manually to reach inspect button and hit enter key. You will find element source code without disabling blur property for those objects....
This won't work if you have many elements on the page like Flipkart or Amazon. In fact if you try the same on Flipkart and moving manually to inspect icon and press enter. List is getting disappeared.
@@naveenautomationlabsTrue, for multiple elements it becomes difficult..
🎉🎉 Tnk u so much buddy 😎
Simply use CTRL+SHIFT+C to lock the DOM structure and later just hover the mouse on the web element.
Thanks 😀
It won't work for some of the applications.
@@naveenautomationlabs Okay but I never faced such an issue that I worked on the application but we always appreciate your logic and tricks ;)
Thank you.. very helpful!!
Thank You Naveen.
quick and crisp 👍🏻
Thank you
Hi Naveen can you help to select from that more dropdown in flipkart I am giving the xpath right but elements list is not getting any entry size is still 0.
Excellent man
Helpful THanks a lot
we can use "Paused in debugger " In Console Run cmd : setTimeout(()=>{debugger},5000) and handle the hidden values.
It's false it will not work out
Great
Hi Naveen, thanks your videos are really helpful!
I have a query, in which when I am clicking on a button it is giving me one id, then have to wait overnight, and then next day login on the other URL where this id will have few account numbers and other data which I have to verfiy. but waiting overnight is must for data to generate , How this can be managed using Selenium ?
Hi this is not a right candidate for test automation
Thank you so much.
Thankyou Very Much
Thank you. It worked
In my case, i could not able to find BLUR property itself in the Event Listener and its not at all visible. Please suggest alternative solution for this.
You can use ‘focusout’ in that case
It is also another event in eventlistener
Hi I am also facing the same issue of hidden value i cant identify the element .Like you said in the video delete 3 items from blur if it is not then focusout that too is not present can you suggest something else
Nice trick thanks
Excellent
Hi sir ,how to select option(e.g.Ahmedabad) from a list without using select method? Thanks.
Perfect 🥰
Hi naveen..have doubt in inspect the child category of flipkart..my interview question ..open flipcart- click any one category-find out xpath of child category...little bit difficult to find out the xpath of this..can you guide me how to take xpath for this?
Osm Bro Thanks
Thank you nvin..
Sir pls tell, how to inspect "camera & accerlaries " under Electrons dropdown??????????
Thanks Naveen. I use to do driver.pagesource() or debugger() in browser's console to perform the same
Hi Naveen, If I want some advice regarding career growth , how can i connect with you directly?? Please reply
thank you very much
Can someone explain how he captured that xpath - Contains?
Hi navin..i have only one property in blur.I have removed that still it is not working pls help