MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / device

Method device

java/src/org/openqa/selenium/docker/Device.java:37–43  ·  view source on GitHub ↗
(
      String pathOnHost, String pathInContainer, @Nullable String cgroupPermissions)

Source from the content-addressed store, hash-verified

35 }
36
37 public static Device device(
38 String pathOnHost, String pathInContainer, @Nullable String cgroupPermissions) {
39 if (cgroupPermissions == null || cgroupPermissions.trim().isEmpty()) {
40 cgroupPermissions = "crw";
41 }
42 return new Device(pathOnHost, pathInContainer, cgroupPermissions);
43 }
44
45 public String getPathOnHost() {
46 return pathOnHost;

Callers 2

deviceMethod · 0.95
getDevicesMappingMethod · 0.45

Calls 1

isEmptyMethod · 0.45

Tested by 1

deviceMethod · 0.76