Skip to content

Commit

Permalink
Merge pull request #115 from shamanec/appium-server-insecure
Browse files Browse the repository at this point in the history
Set relaxed security on Appium servers
  • Loading branch information
shamanec authored Jul 29, 2024
2 parents 0cb655c + cf82378 commit 6ad90c5
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 6ad90c5

Please sign in to comment.