Package com.google.jstestdriver

Examples of com.google.jstestdriver.UserAgentParser


    return runnerType == null ? CLIENT : RunnerType.valueOf(runnerType.toUpperCase());
  }

  public String service(String userAgent, String mode, String id, RunnerType runnerType,
      Long timeout, Integer uploadSize) {
    UserAgentParser parser = new UserAgentParser();

    parser.parse(userAgent);
    SlaveBrowser slaveBrowser =
        browserHunter.captureBrowser(id, parser.getName(), parser.getVersion(), parser.getOs(),
            timeout, mode, runnerType, uploadSize);
   
    return slaveBrowser.getCaptureUrl();
  }
View Full Code Here

TOP

Related Classes of com.google.jstestdriver.UserAgentParser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.