MCPcopy
hub / github.com/codeceptjs/CodeceptJS / constructor

Method constructor

lib/helper/Appium.js:178–190  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

176
177 // @ts-ignore
178 constructor(config) {
179 super(config)
180
181 this.isRunning = false
182 this.appiumV2 = config.appiumV2 !== false
183 this.axios = axios.create()
184
185 if (this.appiumV2 === false) {
186 console.log('Appium 1.x is no longer maintained by the Appium team (since 2022-01-01).')
187 console.log('More info: https://bit.ly/appium-v2-migration')
188 console.log('Appium 1.x support will be removed in the next major CodeceptJS release.')
189 }
190 }
191
192 _validateConfig(config) {
193 if (!(config.app || config.platform) && !config.browser) {

Callers

nothing calls this directly

Calls 2

logMethod · 0.80
createMethod · 0.45

Tested by

no test coverage detected