- Selenium WebDriver 3 Practical Guide
- Unmesh Gundecha Satya Avasarala
- 167字
- 2021-08-13 16:08:06
Inspecting Elements with Developer Tools
Before we start exploring how to find elements on a page and what locator mechanism to use, we need to look at the HTML code of the page to understand the Document Object Model (DOM) tree, what properties or attributes are defined for the elements displayed on the page, and how JavaScript or AJAX calls are made from the application. browsers use the HTML code written for the page to render visual elements in the browser window. It uses other resources, including JavaScript, CSS, and images, to decide on the look, feel, and behavior of these elements.
Here is an example of a login page of the demo application and the HTML code written to render this page in a browser, as displayed in the following screenshot:

We need tools that can display the HTML code of the page in a structured and easy-to-understand format. Almost all browsers now offer Developer tools to inspect the structure of the page and associated resources.
- 廣電5G從入門到精通
- 物聯(lián)網(wǎng)智慧安監(jiān)技術
- Twilio Cookbook
- 物聯(lián)網(wǎng)信息安全
- 物聯(lián)網(wǎng)+BIM:構(gòu)建數(shù)字孿生的未來
- 信息通信網(wǎng)絡建設安全管理概要2
- 物聯(lián)網(wǎng)與無線傳感器網(wǎng)絡
- 物聯(lián)網(wǎng)長距離無線通信技術應用與開發(fā)
- WordPress Web Application Development
- 物聯(lián)網(wǎng)場景設計與開發(fā)(初級)
- 5G+區(qū)塊鏈
- Intelligent Mobile Projects with TensorFlow
- 區(qū)塊鏈社區(qū)運營手冊
- 物聯(lián)網(wǎng)技術與實踐
- 網(wǎng)絡信息安全工程技術與應用分析