- Selenium WebDriver Quick Start Guide
- Pinakin Chaubal
- 179字
- 2021-06-24 18:26:25
What is cross-site scripting (XSS)?
Another concept related to same-origin policy is cross-site scripting. Cross-site scripting refers to the situation where a website can be prone to attacks from hackers. A typical hacker injects one or more JavaScript codes into web pages that are being browsed. These JavaScript codes can be malicious, and can pull cookie information from websites, pertaining to be banks, for example. This way, the malicious script bypasses the same-origin policy control.
Selenium RC consists of two parts:
- Selenium server
- Client libraries
The following diagram shows the functioning of Selenium RC, where the RC Server sits in-between the libraries like Java and Python and sends instructions to Selenium Core, thereafter operating on the individual browser:

The role of the Remote Control Server is to inject the Selenium Core in the respective browser. The client libraries send instructions in the form of requests to the RC Server, and the RC Server communicates this to the browser. After receiving a response, this is communicated back to the user by the RC Server.
- 樂學Windows操作系統
- Mastering ElasticSearch
- 構建高可用Linux服務器(第4版)
- Linux操作系統基礎
- 發布!設計與部署穩定的分布式系統(第2版)
- 高性能Linux服務器構建實戰:運維監控、性能調優與集群應用
- Linux集群和自動化運維
- Windows Phone應用程序開發
- RESS Essentials
- 嵌入式系統原理及開發
- Linux使用和管理指南:從云原生到可觀測性
- 無蘋果不生活 The New iPad隨身寶典
- Fedora 12 Linux應用基礎
- Linux應用大全 基礎與管理
- Learning Continuous Integration with Jenkins(Second Edition)