We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a206270 commit de5732dCopy full SHA for de5732d
lib/appium_lib/driver.rb
@@ -359,6 +359,9 @@ def appium_server_version
359
# @return [String] APP_PATH as an absolute path
360
def self.absolute_app_path app_path
361
raise 'APP_PATH not set!' if app_path.nil? || app_path.empty?
362
+ # may be absolute path to file on remote server.
363
+ # if the file is on the remote server then we can't check if it exists
364
+ return app_path if @custom_url
365
# Sauce storage API. http://saucelabs.com/docs/rest#storage
366
return app_path if app_path.start_with? 'sauce-storage:'
367
return app_path if app_path.match(/^http/) # public URL for Sauce
0 commit comments