- 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.
- 網(wǎng)絡(luò)云百問百答
- 網(wǎng)絡(luò)創(chuàng)新指數(shù)研究
- HTML5 Game development with ImpactJS
- 射頻通信系統(tǒng)
- 網(wǎng)絡(luò)安全應(yīng)急響應(yīng)技術(shù)實(shí)戰(zhàn)
- IPv6網(wǎng)絡(luò)切片:使能千行百業(yè)新體驗(yàn)
- 網(wǎng)絡(luò)安全應(yīng)急響應(yīng)技術(shù)實(shí)戰(zhàn)指南
- TD-LTE無線網(wǎng)絡(luò)規(guī)劃與設(shè)計(jì)
- 園區(qū)網(wǎng)絡(luò)架構(gòu)與技術(shù)
- TCP/IP基礎(chǔ)(第2版)
- Web用戶查詢?nèi)罩就诰蚺c應(yīng)用
- 工業(yè)以太網(wǎng)技術(shù):AFDX/TTE網(wǎng)絡(luò)原理、接口、互連與安全
- 計(jì)算機(jī)通信網(wǎng)絡(luò)安全
- 5G智慧交通
- 網(wǎng)絡(luò)信息安全工程技術(shù)與應(yīng)用分析