<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: bubuybawang</title>
    <description>The latest articles on DEV Community by bubuybawang (@bubuybawang).</description>
    <link>https://dev.to/bubuybawang</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F790946%2F64a4f78e-e200-47fe-9a15-5cbf610cb64a.jpeg</url>
      <title>DEV Community: bubuybawang</title>
      <link>https://dev.to/bubuybawang</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bubuybawang"/>
    <language>en</language>
    <item>
      <title>Inspecting Disappearing WebElement</title>
      <dc:creator>bubuybawang</dc:creator>
      <pubDate>Wed, 12 Jan 2022 13:48:53 +0000</pubDate>
      <link>https://dev.to/bubuybawang/inspecting-disappearing-webelement-42p2</link>
      <guid>https://dev.to/bubuybawang/inspecting-disappearing-webelement-42p2</guid>
      <description>&lt;p&gt;Inspecting the source of a particular web element is sometimes tricky especially if the element in question disappears once the focus is removed from it, or sometimes even just moving the mouse pointer outside its borders. &lt;/p&gt;

&lt;p&gt;The easiest way to capture these elements is to trigger the debugger of the browser to pause execution after a specified timeout - presumably with enough time have the disappearing element appear.&lt;/p&gt;

&lt;p&gt;Just paste the snippet in to the browser's console. Just increase the timeout if 5 seconds is not enough.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;setTimeout(() =&amp;gt; { debugger; }, 5000)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>selenium</category>
      <category>xpath</category>
      <category>locators</category>
    </item>
  </channel>
</rss>
