appium / appium-mac2-driver

Next-gen Appium macOS driver, backed by Apple XCTest
Apache License 2.0
115 stars 24 forks source link

Issue with security policy & WebDriverAgentMac #251

Open DmitryMishtal opened 8 months ago

DmitryMishtal commented 8 months ago

Hi ^^

After update on Sonoma OS (14.0) i'm experiencing an issue when test starts. Each test should be approved manually to use newly created "WebDriverAgentRunner-Runner"

"WebDriverAgentRunner-Runner" is from an unidentified developer and differs from previously opened versions. Are you sure you want to open it?

Opening "WebDriverAgentRunner-Runner" will allow it to create access data from previously used versions of "WebDriverAgentRunner-Runner"

My OS settings:

Privacy & Security -> Allow applications downloaded from - Anywhere (sudo spctl --master-disable) automationmodetool enable-automationmode-without-authentication command is executed XCode Helper app is enabled in "Privacy & Security -> Accessibility"

DmitryMishtal commented 7 months ago

Pre-build WDA & webDriverAgentMacUrl capability fixed my issue. Hope it'll help somebody

reymundolopez commented 3 months ago

@DmitryMishtal care to explain a bit more or reference a link on how you did this? I'm facing the same error. Thanks!

pppppino commented 3 months ago

@mykola-mokhnach Hi, I got the same problem, and I have done all settings that you said in Readme, include "Xcode Helper", "automationmodetool enable-automationmode-without-authentication". And I do not want to use Pre-build WDA & webDriverAgentMacUrl, could you please help me to figure out why this alert appear when I start appium image

mykola-mokhnach commented 3 months ago

You may reconfigure WDA and sign it with a digital signature to prevent the above message