Skip to content

Commit

Permalink
set relaxed security on appium servers
Browse files Browse the repository at this point in the history
  • Loading branch information
shamanec committed Jul 29, 2024
1 parent 0cb655c commit cf82378
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion provider/devices/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,16 @@ func startAppium(device *models.Device) {
}
device.AppiumPort = appiumPort

cmd := exec.CommandContext(device.Context, "appium", "-p", device.AppiumPort, "--log-timestamp", "--session-override", "--log-no-colors", "--default-capabilities", string(capabilitiesJson))
cmd := exec.CommandContext(
device.Context,
"appium",
"-p",
device.AppiumPort,
"--log-timestamp",
"--session-override",
"--log-no-colors",
"--relaxed-security",
"--default-capabilities", string(capabilitiesJson))

logger.ProviderLogger.LogDebug("device_setup", fmt.Sprintf("Starting Appium on device `%s` with command `%s`", device.UDID, cmd.Args))
// Create a pipe to capture the command's output
Expand Down

0 comments on commit cf82378

Please sign in to comment.