Skip to content

Commit

Permalink
Remove deviceName from android capabilities. (#437)
Browse files Browse the repository at this point in the history
* Remove deviceName from android capabilities.

* bump the version

Co-authored-by: Dileep Bellamkonda <[email protected]>
  • Loading branch information
Dileep17 and Dileep Bellamkonda authored Jul 8, 2022
1 parent 1396a3d commit 195d52f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "appium-device-farm",
"version": "1.0.0-beta.16",
"version": "1.0.0-beta.17",
"description": "An appium 2.0 plugin that manages and create driver session on available devices",
"main": "./lib/index.js",
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion src/CapabilityManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export async function androidCapabilities(
freeDevice: { udid: any; name: string }
) {
caps.firstMatch[0]['appium:udid'] = freeDevice.udid;
caps.firstMatch[0]['appium:deviceName'] = freeDevice.udid;
caps.firstMatch[0]['appium:systemPort'] = await getPort();
caps.firstMatch[0]['appium:chromeDriverPort'] = await getPort();
if (!isCapabilityAlreadyPresent(caps, 'appium:mjpegServerPort')) {
Expand Down

0 comments on commit 195d52f

Please sign in to comment.