- 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.
- Linux運(yùn)維之道(第3版)
- 無蘋果不生活 OS X Mountain Lion隨身寶典
- SOA實(shí)踐者說
- vSphere Virtual Machine Management
- Windows Server 2012 Hyper-V Cookbook
- Linux操作系統(tǒng)應(yīng)用編程
- 計算機(jī)系統(tǒng)開發(fā)與優(yōu)化實(shí)戰(zhàn)
- 直播系統(tǒng)開發(fā):基于Nginx與Nginx-rtmp-module
- 一學(xué)就會:Windows Vista應(yīng)用完全自學(xué)手冊
- INSTANT Galleria Howto
- Linux軟件管理平臺設(shè)計與實(shí)現(xiàn)
- μC/OS-III內(nèi)核實(shí)現(xiàn)與應(yīng)用開發(fā)實(shí)戰(zhàn)指南:基于STM32
- Ubuntu Linux操作系統(tǒng)實(shí)用教程
- OpenStack Essentials(Second Edition)
- 操作系統(tǒng)之哲學(xué)原理第2版