0

I bug in my page shows an element I do not want, just briefly on start. It goes away far to quickly to be inspected in the traditional way with right click and inspect. How do you identify such an element?

sanjihan
  • 5,592
  • 11
  • 54
  • 119

1 Answers1

0

You could try adding break points in the developer console. If it's an element that's instantiated via javascript you should be able to pause and identify it there.

How to do this in Chrome

How to do this in Firefox

rumski20
  • 361
  • 4
  • 13
  • I disabled JS before trying to set a break point, but and the element still shows :( – sanjihan Oct 07 '16 at 12:47
  • I don't think you want to disable JS if you're attempting to test if it is causing this issue. Try a breakpoint at [window.onload](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload) or if that doesn't catch it try [setting one in a script tag](http://stackoverflow.com/questions/7136705/javascript-before-onload) – rumski20 Oct 07 '16 at 12:53