We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
app
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
When creating a driver by passing a capability set without the app capability, the driver fails to be created and returns an error:
absolute_app_path invoked and app is not set! (ArgumentError)
Could not reproduce this using ruby_lib 15.2.0 and identical versions of ruby_lib_core. I believe the issue was likely introduced in #1037.
ruby_lib
15.2.0
ruby_lib_core
Create a driver and pass a capability set that does NOT contain the app capability, e.g.
url = "http://localhost:4723/" caps = {"platformName"=>"iOS", "appium:options"=>{"automationName"=>"XCUITest", "deviceName"=>"iPhone", "udid"=>"<udid>", "noReset"=>true, "forceAppLaunch"=>true, "bundleId"=>"<bundle id>"}} $driver = Appium::Driver.new({ caps: caps, appium_lib: { server_url: url } })
This returns an error.
Driver is created fine
N/A
The text was updated successfully, but these errors were encountered:
Yes, it looks like ruby_lib's historical place reason. Let me fix that.
Sorry, something went wrong.
Could you try out with 15.2.2?
Working fine now, thanks 👌
Successfully merging a pull request may close this issue.
This is a
Summary
When creating a driver by passing a capability set without the
app
capability, the driver fails to be created and returns an error:Could not reproduce this using
ruby_lib
15.2.0
and identical versions ofruby_lib_core
.I believe the issue was likely introduced in #1037.
Environment
ruby_lib
version: 15.2.1Actual behaviour and steps to reproduce
Create a driver and pass a capability set that does NOT contain the
app
capability, e.g.This returns an error.
Expected behaviour
Driver is created fine
Link to Appium/Ruby logs
N/A
Any additional comments
N/A
The text was updated successfully, but these errors were encountered: