- 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.
推薦閱讀
- Mastering vRealize Operations Manager(Second Edition)
- Mobile-first Bootstrap
- 從零開始寫Linux內核:一書學透核心原理與實現
- 發布!設計與部署穩定的分布式系統(第2版)
- 阿里云數字新基建系列:云原生操作系統Kubernetes
- WordPress Mobile Web Development:Beginner's Guide
- Persistence in PHP with the Doctrine ORM
- Mastering Distributed Tracing
- 曝光:Linux企業運維實戰
- SOA實踐者說
- 玩到極致 iPhone 4S完全攻略
- 高性能Linux服務器構建實戰:系統安全、故障排查、自動化運維與集群架構
- 新手學電腦從入門到精通(Windows 10+Office 2016版)
- Linux內核觀測技術BPF
- INSTANT Migration from Windows Server 2008 and 2008 R2 to 2012 How-to