MCPcopy Create free account
hub / github.com/appium/appium / constructor

Method constructor

packages/base-plugin/lib/plugin.ts:30–37  ·  view source on GitHub ↗
(name: string, cliArgs: Record<string, unknown> = {}, driverId: string | null = null)

Source from the content-addressed store, hash-verified

28 readonly cliArgs: Readonly<Record<string, unknown>>;
29
30 constructor(name: string, cliArgs: Record<string, unknown> = {}, driverId: string | null = null) {
31 super();
32 if (driverId) {
33 this.updateLogPrefix(`${generateDriverLogPrefix(this)} <${driverId}>`);
34 }
35 this.name = name;
36 this.cliArgs = node.deepFreeze({...cliArgs});
37 }
38
39 /**
40 * A convenience method for plugins that implement their own `executeMethodMap`.

Callers

nothing calls this directly

Calls 2

generateDriverLogPrefixFunction · 0.90
updateLogPrefixMethod · 0.80

Tested by

no test coverage detected