Inspecting Pages
How do we interact with a website? Can we access its HTML
structure? The answer is yes, and most browsers provide a feature that allows you to examine the structure of any webpage you're visiting. You can even make temporary changes to a page, but these alterations will only be visible to you. This suite of tools is commonly referred to as DevTools
.
For instance, to access DevTools in the Chrome browser, simply right-click on any part of the page and select "Inspect" from the menu that appears. For example, open the Test page. Right-click anywhere on the page, and press the Inspect button. Now you can inspect the webpage structure and modify whatever you want.
![](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/35fdd0a9-2b4b-4032-9ac4-3d848aa08650/s.1+ch.4+pict1.png)
Task
Head to the following page.
Tudo estava claro?
Conteúdo do Curso
Web Scraping with Python
Web Scraping with Python
Inspecting Pages
How do we interact with a website? Can we access its HTML
structure? The answer is yes, and most browsers provide a feature that allows you to examine the structure of any webpage you're visiting. You can even make temporary changes to a page, but these alterations will only be visible to you. This suite of tools is commonly referred to as DevTools
.
For instance, to access DevTools in the Chrome browser, simply right-click on any part of the page and select "Inspect" from the menu that appears. For example, open the Test page. Right-click anywhere on the page, and press the Inspect button. Now you can inspect the webpage structure and modify whatever you want.
![](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/35fdd0a9-2b4b-4032-9ac4-3d848aa08650/s.1+ch.4+pict1.png)
Task
Head to the following page.
Tudo estava claro?