+ 2

How can I hide a HTML element in the DOM?

I want to scrap a web but there are some html element not able to be seen. Afer clicking a icon there appear the elements in the page and in the DOM. How that is done?

26th Jun 2019, 11:36 PM
Cristian Baeza Jimenez
Cristian Baeza Jimenez - avatar
1 Answer
+ 1
Thanks ChillPill for your comment. I want to scrap a web and found this thing. Using Mozilladirefox and usint its inspect tools I found that there is event attached to one html element. So when It is clicked others html element are visible and this are the elements I want to scrap. So I realize that in the scrip I have to add a click event to acces the elemnts I want. I could not put imagen here, see it in this post https://www.sololearn.com/post/116587/?ref=app
28th Jun 2019, 4:20 PM
Cristian Baeza Jimenez
Cristian Baeza Jimenez - avatar