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

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.

主站蜘蛛池模板: 中超| 元朗区| 富川| 岳阳市| 蒲江县| 时尚| 乌拉特中旗| 潮安县| 九龙县| 石景山区| 博乐市| 霍州市| 舒城县| 孟津县| 徐州市| 泰来县| 沽源县| 响水县| 宿迁市| 双江| 新津县| 海伦市| 中卫市| 平远县| 瑞安市| 乌兰县| 三亚市| 淮南市| 轮台县| 临朐县| 金昌市| 哈尔滨市| 伊吾县| 塘沽区| 华安县| 疏附县| 张家口市| 建德市| 双流县| 黄龙县| 蛟河市|