How to find the element that displays and hides with in 2 seconds in selenium webdriver?
morde last edited by
How to Pause a WebPage to get a locater There are times when there is something on a page that we need to get the WebDriver locater for, but the object disappears too quickly to inspect it. Here is how to get it: Open Chrome (I believe this only works in Chrome) Go to the desired URL Open the Development Tools (Ctrl+Shift+I) a. For this case, I like to have the Development Tool window as a new Window Do the action needed to get to your tricky element As soon as the element is in the state you wish, hit F8 a. This will pause the DOM. b. You can then expect the element c. There is a icon on the page to resume d. NOTE: This takes a ton of memory, your system might slow way down. Work fast and then un-pause.