官术网_书友最值得收藏!

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. 
主站蜘蛛池模板: 深泽县| 濉溪县| 武鸣县| 黔西县| 林州市| 蒙山县| 安庆市| 彭阳县| 平定县| 镇远县| 昭觉县| 和林格尔县| 华坪县| 综艺| 山阳县| 昆明市| 太和县| 龙江县| 凌海市| 灵寿县| 独山县| 营山县| 诸城市| 眉山市| 凌源市| 英吉沙县| 象州县| 广西| 株洲县| 汤原县| 益阳市| 宾阳县| 名山县| 洛川县| 斗六市| 舟曲县| 彰武县| 东山县| 西贡区| 黄大仙区| 章丘市|