How will I find the toggle button value "hide" or "show" ?
Go to URL : https://en.wikipedia.org/wiki/Castle the text next to Content is hide or show toggle How to find text "Show" or "Hide" Inspect element for the toggle code is mentioned below Steps:
- Go to URL : https://en.wikipedia.org/wiki/Castle
- the text next to Content table is hide or show toggle
- How to find text "Show" or "Hide"
- Inspect element for the toggle code is mentioned above
<div id="toc" class="toc" role="navigation" aria-labelledby="mw-toc-heading">
<input type="checkbox" role="button" id="toctogglecheckbox" class="toctogglecheckbox" style="display:none">
<div class="toctitle" lang="en" dir="ltr">
<h2 id="mw-toc-heading">Contents</h2>
<span class="toctogglespan">
::before
<label class="toctogglelabel" for="toctogglecheckbox">
::after
</label>
</span>
</div>