zoukankan      html  css  js  c++  java
  • selenium-server-standalone 和selenium-server, selenium-java的区别

    https://stackoverflow.com/questions/30865539/selenium-server-standalone-jar-vs-selenium-java-jar

    In the previous version of Selenium, which is Selenium RC (Remote Control), it is mandatory that you need to run selenium-server-standalone.jar jar file, which acts like a server. 
    Selenium RC will then use this server to establish a communication channel between browser and the code.
    Also, this jar file contains all the library functions to be used in our code. But in later version of Selenium, which is Selenium WebDriver,
    there is no need to run this jar file,
    as the WebDriver api will directly communicate with the browser's native language.
    So, this jar file is replaced with selenium-java.jar jar files

    selenium1.0还是 seleniumRC的时候,需要启动selenium-server-standalone包,用来做server。

    selenium RC通过server来给code和broswer建立通道,同时,该jar包包括我们用得所有的方法。

    在新版的selenium中,即selenium2.0-webdriver,不需要这个selenium-server-standalone这个包了。

    WebDriver api 会直接和浏览器的native交互,现在我们用selenium-java.jar包来替代。

    https://stackoverflow.com/questions/26900631/what-are-the-differences-between-selenium-server-standalone-jar-and-selenium

    Selenium WebDriver 2.0 - helps to write scripts for automating browsers..
    this package provides us with classes & methods to achieve automation.
    After writing scripts we can run them on LOCAL MACHINE and see automation ourselves.
    WebDriver projects were merged with selenium RC to overcome the drawbacks of selenium RC making it selenium WebDriver 2.0 Selenium Server:
    Now once i have my scripts (as mentioned above),
    To run scripts on REMOTE MACHINES (Test Beds) and NOT ON LOCAL MACHINE we do it using selenium server.
    So in short Selenium Webdriver works together with Selenium Server..
    they co-exist to help and not to replace each other.

    webdriver用于在本地执行,如果要远程自动化,就要+一个selenium server包

  • 相关阅读:
    我是这样在Google paly上赚美刀的
    休闲英语:超经典实用的英文短信缩写
    休闲英语:揭秘7招最有效的拍马屁技巧
    laravel5数据库配置及其注意事项
    帮助函数
    Laravel报错Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length()
    NetBeans 时事通讯(刊号 # 67 Aug 04, 2009)
    JavaEE 6 将包括 JSR330 和 JSR299
    苯事两则
    NetBeans 时事通讯(刊号 # 66 Jul 30, 2009)
  • 原文地址:https://www.cnblogs.com/zhizhiyin/p/8875582.html
Copyright © 2011-2022 走看看