logo
  • 教程列表
  • SO官方文檔
  • Selenium 網格配置
    • 建立 Selenium Grid 集線器和節點
    • Selenium Grid 的 Java 程式碼
    • 通過 Json 配置 Configuragtion
  1. StackOverflow 文件
  2. selenium-webdriver 教程
  3. Selenium 網格配置
  4. Selenium Grid 的 Java 程式碼

Selenium Grid 的 Java 程式碼

Created: November-22, 2018

String hubUrl = "http://localhost:4444/wd/hub"       
DesiredCapabilities capability = DesiredCapabilities.firefox(); //or which browser you want
RemoteWebDriver driver = new RemoteWebDriver(hubUrl, capability);
  • 通過 Json 配置 Configuragtion
  • 建立 Selenium Grid 集線器和節點

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明