appium-mac2-driver icon indicating copy to clipboard operation
appium-mac2-driver copied to clipboard

Issue with security policy & WebDriverAgentMac

Open DmitryMishtal opened this issue 2 years ago • 6 comments

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 avatar Oct 24 '23 11:10 DmitryMishtal

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

DmitryMishtal avatar Nov 23 '23 14:11 DmitryMishtal

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

reymundolopez avatar Mar 08 '24 22:03 reymundolopez

@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

pppppino avatar Mar 28 '24 06:03 pppppino

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

mykola-mokhnach avatar Mar 28 '24 08:03 mykola-mokhnach

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

Hello, I'm also experiencing this issue, but I can't find any documentation on how to do the above. Could someone point me to the docs? Thanks!

grokys avatar Jul 23 '24 10:07 grokys

By the way, this problem seems to occur on every macOS machine I've tried recently. I suspect it's caused by Sonoma's sandbox security, right?

grokys avatar Jul 23 '24 11:07 grokys