Comments (7)
No, appium/appium-xcuitest-driver#2366 fixes it. The devicectl
command silently ignore arguments in some wrong order case. The fix modify the order to make it work properly
from appium.
can confirm WDA is launched in the device successfully.
[XCUITestDriver@9ab2 (aaccdfbf)] WDA is not listening at 'http://127.0.0.1:9900/'
[XCUITestDriver@9ab2 (aaccdfbf)] Event 'wdaStartFailed' logged at 1711510404398 (11:33:24 GMT+0800 (Singapore Standard Time))
[XCUITestDriver@9ab2 (aaccdfbf)] Error: Failed to start the preinstalled WebDriverAgent in 60000 ms. The WebDriverAgent might not be properly built or the device might be locked. The 'appium:wdaLaunchTimeout' capability modifies the timeout.
[XCUITestDriver@9ab2 (aaccdfbf)] at WebDriverAgent._launchViaDevicectl (/Users/saikrishna/Downloads/git/appium-device-farm/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/lib/webdriveragent.js:330:13)
[XCUITestDriver@9ab2 (aaccdfbf)] at runMicrotasks (<anonymous>)
[XCUITestDriver@9ab2 (aaccdfbf)] at processTicksAndRejections (node:internal/process/task_queues:96:5)
[XCUITestDriver@9ab2 (aaccdfbf)] at WebDriverAgent.launchWithPreinstalledWDA (/Users/saikrishna/Downloads/git/appium-device-farm/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/lib/webdriveragent.js:357:9)
[XCUITestDriver@9ab2 (aaccdfbf)] at WebDriverAgent.launch (/Users/saikrishna/Downloads/git/appium-device-farm/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/lib/webdriveragent.js:411:14)
[XCUITestDriver@9ab2 (aaccdfbf)] at /Users/saikrishna/Downloads/git/appium-device-farm/node_modules/appium-xcuitest-driver/lib/driver.js:822:34
[XCUITestDriver@9ab2 (aaccdfbf)] at wrapped (/Users/saikrishna/Downloads/git/appium-device-farm/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:93:13)
[XCUITestDriver@9ab2 (aaccdfbf)] at retry (/Users/saikrishna/Downloads/git/appium-device-farm/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:66:13)
[XCUITestDriver@9ab2 (aaccdfbf)] at retryInterval (/Users/saikrishna/Downloads/git/appium-device-farm/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:103:10)
[XCUITestDriver@9ab2 (aaccdfbf)] at /Users/saikrishna/Downloads/git/appium-device-farm/node_modules/appium-xcuitest-driver/lib/driver.js:812:7
[XCUITest] The executable name for the bundle id 'atd.pro' was 'WebDriverAgentRunner-Runner'
from appium.
It looks like the launching argument order should be:
% xcrun devicectl device process launch --device 00008020-000E5CDA0A23002E --terminate-existing --environment-variables '{"USE_PORT":"9900","WDA_PRODUCT_BUNDLE_IDENTIFIER":"com.trident.WebDriverAgentRunner.xctrunner"}' com.trident.WebDriverAgentRunner.xctrunner
I tested with the caps, but modified the order as part of pr. No error occurred in the modification so i thought it worked but the command was order sensitive...
from appium.
@KazuCocoa You mean launch WDA n then we port forward?
from appium.
7.6.1 should be ok
from appium.
@KazuCocoa I have "appium:mjpegServerPort": 8900
https://gist.github.com/saikrishna321/d2b4f34ec6e3840ae00e1cea7b5011c6 and I don't see a portforward happening for this.
from appium.
I think Appium takes care the portforward for video stream only during recording.
https://github.com/appium/appium-xcuitest-driver/blob/be49758ecf1e7def8b148c4f2ead7975c83e03f5/lib/commands/recordscreen.js#L58-L61
from appium.
Related Issues (20)
- Appium Crash after Performing cleanup HOT 7
- PrebuiltWDA for iOS 17 not working well and always got Timeout HOT 13
- [Feat]: help initial steps to use appium HOT 7
- [Feat]: print appium relevant information with one command HOT 2
- [Feat]: use selenium nightly build for client tests HOT 2
- Unable to switch to WebView after upgarding to chrome driver 124 HOT 1
- Appium2.0 tests the APP on Android12 or later, often there is no response for a long time, there is no error, the log has not been updated, and sometimes even if the element is found, it does not click, and it runs normally on Android11 HOT 11
- [Feat]: Prepare 'reset' action for 'setup'
- [Feat]: add driver setup in appium.io
- [Feat]: Update bug report template and write a blog? to use appium server --show-debug-info
- [Feat]: Update KNOWN_DRIVERS/KNOWN_PLUGINS
- regression: "Cannot extract Info.plist from *.ipa" HOT 15
- bug: <After updating Android project with gradle 8.3, some xml resource ids are missing from appium inspector> HOT 4
- [Feat]: Tweak --json option for setup command HOT 1
- API 文档完善建议 HOT 2
- sendKeys Does Not Send Keys Completely IOS HOT 1
- [Feat]: I am trying to use Allure Reporter in my testNG project using Maven Architecture in my Flutter App automation HOT 2
- newSession method failed on multi real device test HOT 2
- bug: <Appium is unable to find a compatible Chromedriver version> HOT 2
- Original error: No Chromedriver found that can automate Chrome '121.0.6167'. HOT 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appium.