Skip to content

Can not specify default-capabilities on Windows #1476

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bearxc opened this issue May 24, 2021 · 2 comments
Open

Can not specify default-capabilities on Windows #1476

bearxc opened this issue May 24, 2021 · 2 comments

Comments

@bearxc
Copy link

bearxc commented May 24, 2021

appium java client 7.5.1 on windows platform

appiume server:1.21.0,

AppiumServiceBuilder serviceBuilder = new AppiumServiceBuilder();

......

DesiredCapabilities caps = new DesiredCapabilities();

caps.setCapability("noSign", true);

serviceBuilder.withCapabilities(caps);

AppiumDriverLocalService server = AppiumDriverLocalService.buildService(serviceBuilder);

server.start();

appium: error: argument -dc/--default-capabilities: invalid parseDefaultCaps value: '{noReset:true,noSign:true}'
Disconnected from the target VM, address: '127.0.0.1:50313', transport: 'socket'

according to following link , java client need fix this

appium/appium#15412

@mykola-mokhnach
Copy link
Contributor

Check #1454

@bearxc
Copy link
Author

bearxc commented May 25, 2021

yes, workaround works fine
caps.setCapability(""noReset"", ""true"");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants