- 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.
- 網(wǎng)絡(luò)操作系統(tǒng):Windows Server 2003管理與應(yīng)用
- Ganglia系統(tǒng)監(jiān)控
- Installing and Configuring Windows 10:70-698 Exam Guide
- 嵌入式實(shí)時(shí)操作系統(tǒng):RT-Thread設(shè)計(jì)與實(shí)現(xiàn)
- Ceph分布式存儲(chǔ)實(shí)戰(zhàn)
- Cassandra 3.x High Availability(Second Edition)
- Windows 10從新手到高手
- 嵌入式微系統(tǒng)
- 應(yīng)急指揮信息系統(tǒng)設(shè)計(jì)
- Linux系統(tǒng)管理初學(xué)者指南:基于CentOS 7.6
- 15分鐘!畫出我的漫畫角色:賣萌篇
- 每天5分鐘玩轉(zhuǎn)Docker容器技術(shù)
- Instant Responsive Web Design
- Docker for Developers
- Linux網(wǎng)絡(luò)操作系統(tǒng)項(xiàng)目教程(RHEL 6.4/CentOS 6.4)(第2版)