Тёмный

Mystery of StaleElementReferenceException in Selenium WebDriver 

Naveen AutomationLabs
Подписаться 390 тыс.
Просмотров 51 тыс.
50% 1

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@soumyajit443
@soumyajit443 3 года назад
Amazing ! You have made it so clear by showing the exact reason for which the exception appears.
@RohitSingh-br3xd
@RohitSingh-br3xd 5 лет назад
Thanks Naveen . Could you please make video on how we can handle such kind of exception. have faced such questions in interview many times.
@kavithaks971
@kavithaks971 3 года назад
Your explanation is simply Superb.
@mailtoeanyeany2693
@mailtoeanyeany2693 5 лет назад
Naveen, your sessions are informative, but they are long. Requesting you to please squeeze them a bit. Thanks for your good work.
@zionerick9414
@zionerick9414 3 года назад
You prolly dont give a shit but if you're stoned like me atm you can stream all of the new movies and series on InstaFlixxer. I've been watching with my girlfriend for the last weeks :)
@dominicbronson5053
@dominicbronson5053 3 года назад
@Zion Erick definitely, I have been watching on instaflixxer for years myself :D
@BeautifulLifeKamesh
@BeautifulLifeKamesh 5 месяцев назад
Got good clarity by this explanation
@real_hello_kitty
@real_hello_kitty 4 года назад
Mysteries make QA more interesting 🧐. Like detective stories. 😎
@nagasaimaddula56
@nagasaimaddula56 5 месяцев назад
Amazing , clear explanation
@dheerajsingh6568
@dheerajsingh6568 5 лет назад
Great Naveen ..... One Q ... Then how can we handle staleElementException in Selenium ?? By using a function defined in Explicit ??
@mikethomas6323
@mikethomas6323 5 лет назад
One of the best explanation of the solution I found: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yYQrtmNn6Uo.html
@PradipYogi59
@PradipYogi59 6 лет назад
Awesome man...You r one of the Automation testing legend...Keep it up....n thanks for videos
@ashwinumbarkar6625
@ashwinumbarkar6625 2 года назад
Thank you Naveen.
@hanumanthak6661
@hanumanthak6661 3 года назад
Thank you so much Naveen for detailed explanation! in this case what kind of exception we get if element is disabled after refresh? is it NoSuchElementException or StaleElementReferenceException?
@banti000
@banti000 6 лет назад
Thanks Naveen.. so after every refresh selenium will generate its internal reference Id, which will not match with previous reference Id for all pages including ajax ?
@naveenautomationlabs
@naveenautomationlabs 6 лет назад
yes :)
@banti000
@banti000 6 лет назад
Naveen AutomationLabs Thank you. :) can you please explain coverage of ajax, js in selenium. 📺
@arpitarjaria2784
@arpitarjaria2784 2 года назад
Amazing mystery of staleelement exception thanks Naveen
@prabakarm5025
@prabakarm5025 6 лет назад
thanks naveen. My doubt regarding stale element has came to end
@arkaimps
@arkaimps 6 лет назад
Thanks Naveen for the video and the blog also you have wriiten on this.. Is there any way to handle this error? Does JavaScriptExecutor helps to handle
@mikethomas6323
@mikethomas6323 5 лет назад
One of the best explanation of the solution I found: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yYQrtmNn6Uo.html
@meghasandesam
@meghasandesam 6 лет назад
Hey Naveen...Are you doing well? Your voice is different from previous videos.
@avinash..7130
@avinash..7130 6 лет назад
Thanks a lot Naveen.. Learning so much using your tutorial. And please explain us how to handle this exception?.
@avinash..7130
@avinash..7130 6 лет назад
We can use Try-Catch block and try to identify the element in try block if the exception is Stale element reference. But I would like to know by using Explicit wait or Fluent Wait as you are mentioned in the video in between. Thank you..
@samyapattnaik
@samyapattnaik 6 лет назад
In 7.42 min the action is being performed on the button click. But price getting refreshed in another web element. This is where I m confused. How will I get stale element exception??
@mworld4537
@mworld4537 2 года назад
All your videos have made to show the exact reason
@sriramnagarajanit
@sriramnagarajanit 6 лет назад
Thank you so much Naveen :), crisp explanation
@shaileshchaudhary6621
@shaileshchaudhary6621 6 лет назад
thanks, good explanation and can you provide Flipkart payment by using selenium Webdriver
@roshnray6566
@roshnray6566 2 года назад
Thanks Sir for explaining actual reason i.e ID
@athilakshmi5379
@athilakshmi5379 5 лет назад
Can you please make a video on how to document the test plan and test strategy for a new feature say flight feature creation for make my trip application...( assuming already bus and train booking features are available)
@thaleshbhardwaz
@thaleshbhardwaz 3 года назад
wow, a deep dive session
@hellosasmitasgreenworld1896
@hellosasmitasgreenworld1896 5 лет назад
Hi Naveen i understood this "StaleElementException" but in my project manually we are not refreshing the page. In my project For create user page, we have one Orga Id and Unit Id As per OrgaId unit Id will get load. So after giving OrgaId automatic page will refresh and unit id will show in select drop down. I tried with implicit wait also but still getting "TimeoutException" otherwise "StaleElementException" kindly give me some solution for this error. Thank you.
@santhoshk8095
@santhoshk8095 6 лет назад
amazing explanation sir..Thank You..
@neeraj9kumarpathak
@neeraj9kumarpathak 4 года назад
Great video 👍
@SuperDufferBoy
@SuperDufferBoy 4 года назад
Great explanation 👍
@aravinda4199
@aravinda4199 5 лет назад
Iam getting after selecting the drop down value my that page is reloading at the time iam getting stale element exception , how to handle it ??
@sandeepduve7252
@sandeepduve7252 6 лет назад
Very nice explained
@theknowledgejunction19
@theknowledgejunction19 2 года назад
Big fan 🙌
@thebolt1806
@thebolt1806 4 года назад
Excellent 👍
@sauravmahata2401
@sauravmahata2401 6 лет назад
great video thanks @naveek
@chanduvanam7961
@chanduvanam7961 5 лет назад
So, how can we handle this stale element exception?
@ananyaanu9436
@ananyaanu9436 6 лет назад
Thanks Naveen ☺️
@Shibu11229
@Shibu11229 2 года назад
Thanks for the clear explanation with the unique ID. I have a python selenium script that goes to a page, enters data and then clicks a submit button. Another page loads and the script clicks a search button. This is performed through a loop repeatedly and it works for approximately 10-40 times but it always fails at some seemingly random point with the stale element reference exception. I am searching for the button and clicking it on the very next line. Is it possible that the unique ID of the element is changing from one line of my code to the next? If so how do I address it? SearchButton = WebDriverWait(driver, 15).until(EC.element_to_be_clickable((By.CSS_SELECTOR, '.button-label'))) SearchButton.click()
@anilleo18
@anilleo18 6 лет назад
Thanks Naveen
@54akhilesh
@54akhilesh 3 года назад
Thank you so much sir :)
@naveenautomationlabs
@naveenautomationlabs 3 года назад
Most welcome!
@shrutipatne7884
@shrutipatne7884 6 лет назад
How to overcome stale element exception
@mikethomas6323
@mikethomas6323 5 лет назад
One of the best explanation of the solution I found: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yYQrtmNn6Uo.html
Далее
小丑调戏黑天使的后果#short #angel #clown
00:16
PUBG Mobile СТАЛ ПЛАТНЫМ! 😳
00:31
Просмотров 108 тыс.
How many can you smash?🍫 IB : Florin
00:19
Просмотров 3,2 млн
How to Handle Frames in Selenium WebDriver - Session 4a
20:47
How to Become Genius in XPath in Selenium  - Session -18
39:48
How to handle hidden webelements in Selenium Webdriver
21:19