官术网_书友最值得收藏!

Introduction

Web applications, and the web pages within these applications, are commonly written in a mix of Hyper Text Markup Language (HTML), Cascading Style Sheets (CSS), and JavaScript code. Based on user actions like navigating to a website Uniform Resource Locator (URL) or clicking the submit button, a browser sends a request to a web server. Web server processes this request and sends back a response with HTML and related resources, such as JavaScript, CSS, Images, and so on, back to the Browser. The information received from a server is used by the browser to render a web page with various visual elements, such as textboxes, buttons, labels, tables, forms, checkboxes, radio boxes, lists, images, and so on, on the page. While doing so, the browser hides the HTML code and related resources from the user. The user is presented with a graphical user interface in the browser window.

When we want to automate browser interaction using Selenium, we need to tell Selenium how to find a particular element or set of elements on a web page programmatically and simulate user actions on these elements. Selenium provides various selector or locator methods to find elements based on the attribute/value criteria or selector value that we supply in the script.

主站蜘蛛池模板: 德保县| 庆城县| 黄骅市| 雷山县| 西充县| 茂名市| 宁都县| 土默特右旗| 上栗县| 榆树市| 萝北县| 斗六市| 寻乌县| 庆阳市| 陵川县| 集安市| 广安市| 无极县| 南靖县| 大英县| 安泽县| 永新县| 时尚| 新巴尔虎右旗| 阜新市| 武邑县| 仁化县| 香格里拉县| 抚远县| 萍乡市| 高青县| 郓城县| 临朐县| 茌平县| 安陆市| 商丘市| 夏河县| 黄陵县| 灵丘县| 沙雅县| 昆明市|