Open fastinggirl opened 1 year ago
POST /wd/hub/session HTTP/1.1 Accept: / Content-Length: 237 Content-Type: application/json; charset=utf-8 Host: 192.168.1.30:4723 User-Agent: appium/8.5.1 (selenium/4.10.0 (java mac)) X-Idempotency-Key: f43a3749-61cf-4657-b9be-646c4550b14b { "capabilities": { "firstMatch": [ { } ], "alwaysMatch": { "appium:app": "Root", "appium:automationName": "Windows", "appium:deviceName": "Android", "platformName": "windows" } } } HTTP/1.1 400 Bad Request Content-Length: 141 Content-Type: application/json {"status":100,"value":{"error":"invalid argument","message":"Bad capabilities. Specify either app or appTopLevelWindow to create a session"}}
fastinggirl Please post code example
Selenium 4 is not supported yet.
POST /wd/hub/session HTTP/1.1 Accept: / Content-Length: 237 Content-Type: application/json; charset=utf-8 Host: 192.168.1.30:4723 User-Agent: appium/8.5.1 (selenium/4.10.0 (java mac)) X-Idempotency-Key: f43a3749-61cf-4657-b9be-646c4550b14b { "capabilities": { "firstMatch": [ { } ], "alwaysMatch": { "appium:app": "Root", "appium:automationName": "Windows", "appium:deviceName": "Android", "platformName": "windows" } } } HTTP/1.1 400 Bad Request Content-Length: 141 Content-Type: application/json {"status":100,"value":{"error":"invalid argument","message":"Bad capabilities. Specify either app or appTopLevelWindow to create a session"}}