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

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.

主站蜘蛛池模板: 从化市| 兰西县| 双城市| 盐亭县| 石首市| 新泰市| 调兵山市| 侯马市| 马公市| 得荣县| 绥滨县| 札达县| 漯河市| 曲周县| 鲁山县| 朝阳市| 渭南市| 武义县| 黄平县| 抚顺市| 团风县| 台湾省| 滁州市| 榆林市| 寿阳县| 即墨市| 天长市| 大余县| 通海县| 元江| 乐东| 延吉市| 蕉岭县| 华阴市| 错那县| 鲁甸县| 元江| 喀喇| 西安市| 兴国县| 磴口县|