- Selenium WebDriver Quick Start Guide
- Pinakin Chaubal
- 179字
- 2021-06-24 18:26:25
Understanding Selenium RC
Selenium RC is a popular UI automation library for automating browsers. Selenium RC uses a generic form of JavaScript called Selenium Core to perform automation. However, this should comply with a security policy called the same-origin policy. The same-origin policy is a security measure that prevents website scripts from accessing the scripts of other websites. For example, JavaScript present on Google cannot access or communicate with JavaScript present on Yahoo. Three things are checked for the same-origin policy: the protocol, domain, and port. If these three things match, then only the request can be said as being one from the same domain.
Selenium Core was introduced by Jason Higgins; It was nothing but a JavaScript program. Prior to Selenium RC, IT people had to install both Selenium Core and the entire web application on their local machine to make the virtual appearance as though the requests were coming from the same domain. Selenium RC introduced the RC server, which acted as a HTTP proxy and handled the requests between the web application and Selenium Core.
推薦閱讀
- 電腦組裝與系統(tǒng)安裝
- Windows Server 2012 Hyper-V:Deploying the Hyper-V Enterprise Server Virtualization Platform
- 鴻蒙生態(tài):開(kāi)啟萬(wàn)物互聯(lián)的智慧新時(shí)代
- 大學(xué)計(jì)算機(jī)應(yīng)用基礎(chǔ)實(shí)踐教程(Windows 7+Office 2013)
- vSphere Virtual Machine Management
- Kali Linux高級(jí)滲透測(cè)試
- INSTANT Galleria Howto
- Distributed Computing with Go
- Windows 7實(shí)戰(zhàn)從入門(mén)到精通
- Hands-On GPU Programming with Python and CUDA
- Agile IT Security Implementation Methodology
- Linux深度攻略
- Xamarin Mobile Application Development for Android
- Microsoft Azure Administrator:Exam Guide AZ-103
- PrimeFaces Beginner's Guide