Closed vnuta9 closed 3 months ago
@mykola-mokhnach @KazuCocoa ,need to move this to Java client repo
@Dor-bl My bad. Would it be moved, or should I re-create it in the Java Client repo ?
You can wait for it to be moved
Probably a duplicate of https://github.com/appium/java-client/issues/2184
My bad. I know the issue now. I have called for the creation of the driver twice. Closing it. Sorry for the trouble caused.
Description
I am trying to do a small POC for automating the test cases for a desktop eCommerce website to run on real mobile device(mobileWeb) browser(chrome) using the combination of Selenium and Appium using the latest Eclipse (Version: 2024-06 (4.32.0)) and recent JDK 21.0.3
Environment
selenium-java==>4.21.0 java-client ==>9.2.3 appium server ==>v2.10.3
Desktop OS/version used to run Appium if necessary: Microsoft Windows Server 2022 Standard(10.0.20348 Build 20348)
Node.js version: v20.14.0
Mobile platform/version under test: Android 14
Real device or emulator/simulator: Samsung Galaxy S21 FE 5G
Details
[INFO] [INFO] Results: [INFO] [ERROR] [1;31mFailures: [m [ERROR] [1;31m AndroidChromeTest.setUp:25 » SessionNotCreated Could not start a new session. Response code 400. Message: 'automationName' can't be blank Host info: host: 'IL02-DEVAPP-D', ip: '10.40.11.31' Build info: version: '4.21.0', revision: '79ed462ef4' System info: os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '21.0.3' Driver info: io.appium.java_client.android.AndroidDriver Command: [null, newSession {capabilities=[Capabilities {browserName: chrome, goog:chromeOptions: {args: [], extensions: []}, platformName: ANDROID}]}] Capabilities {browserName: chrome, goog:chromeOptions: {args: [], extensions: []}, platformName: ANDROID}[m [INFO] [ERROR] [1;31mTests run: 2, Failures: 1, Errors: 0, Skipped: 1
Code To Reproduce Issue [ Good To Have ]
Java Class with code is attached. Rename back to Java file extension. AndroidChromeTest.txt
Exception stack traces
Link to Appium logs
If you are reporting a bug, always include Appium logs as linked gists! It helps to define the problem correctly and clearly. Similar to bug #17779