Skip to content

Commit de5732d

Browse files
Fix #224
1 parent a206270 commit de5732d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/appium_lib/driver.rb

+3
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,9 @@ def appium_server_version
359359
# @return [String] APP_PATH as an absolute path
360360
def self.absolute_app_path app_path
361361
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
362365
# Sauce storage API. http://saucelabs.com/docs/rest#storage
363366
return app_path if app_path.start_with? 'sauce-storage:'
364367
return app_path if app_path.match(/^http/) # public URL for Sauce

0 commit comments

Comments
 (0)