Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Unable to see the contents of a collapsed tag in the inspector

  • Akukho zimpendulo
  • 0 zinale nkinga
  • 8 views
more options

I am trying to inspect dom to see the content of a dropdown for my selenium test and I am facing the following issue:

1. Click on a drop down select (ex Language) 2. It adds a list of language divs to the dom 3. Open Inspector to see them 4. List of languages is is not visible in the dom as it is collapsed in the inspector by default 5. Click to expand the list in the dom 6. That triggers a "click away" event and code removes the list of languages from the dom 7. Back to point 1 :(

Is there any way to break this dead loop? 1. Expand all nodes in the inspector by default 2. Disable any dom manipulation events

Thank you!

I am trying to inspect dom to see the content of a dropdown for my selenium test and I am facing the following issue: 1. Click on a drop down select (ex Language) 2. It adds a list of language divs to the dom 3. Open Inspector to see them 4. List of languages is is not visible in the dom as it is collapsed in the inspector by default 5. Click to expand the list in the dom 6. That triggers a "click away" event and code removes the list of languages from the dom 7. Back to point 1 :( Is there any way to break this dead loop? 1. Expand all nodes in the inspector by default 2. Disable any dom manipulation events Thank you!

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.