- 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.
推薦閱讀
- 零起點學(xué)Linux系統(tǒng)管理
- 白話區(qū)塊鏈
- Linux自動化運(yùn)維:Shell與Ansible(微課版)
- Windows Server 2019 Administration Fundamentals
- 一學(xué)就會:Windows Vista應(yīng)用完全自學(xué)手冊
- NetDevOps入門與實踐
- Social Data Visualization with HTML5 and JavaScript
- Red Hat Enterprise Linux 6.4網(wǎng)絡(luò)操作系統(tǒng)詳解
- 從零開始學(xué)安裝與重裝系統(tǒng)
- μC/OS-III內(nèi)核實現(xiàn)與應(yīng)用開發(fā)實戰(zhàn)指南:基于STM32
- Linux網(wǎng)絡(luò)操作系統(tǒng)項目教程(RHEL 7.4/CentOS 7.4)(第3版)(微課版)
- Windows Server 2008組網(wǎng)技術(shù)與實訓(xùn)(第3版)
- Multi-Cloud for Architects
- Linux內(nèi)核分析及應(yīng)用
- 電腦辦公(Windows 7+Office 2016)入門與提高