Sha256: 77e3a8bbb057c6deec7365942a1fbf8a37bd89094887f4454989c4c3f57430c5

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

##### [load_settings](https://github.com/appium/ruby_lib/blob/4535ec91f435255ae31b4c4fea9d96e5405d79f5/lib/appium_lib/driver.rb#L69) 

> def self.load_settings(opts = {})

Load appium.txt (toml format)

```
[caps]
app = "path/to/app"

[appium_lib]
port = 8080
```

:app is expanded
:require is expanded
all keys are converted to symbols

__Parameters:__

     [Hash] opts - file: '/path/to/appium.txt', verbose: true

__Returns:__

     [hash] the symbolized hash with updated :app and :require keys

--

##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/4535ec91f435255ae31b4c4fea9d96e5405d79f5/lib/appium_lib/driver.rb#L102) 

> def self.load_settings(opts = {})

Load appium.txt (toml format)

```
[caps]
app = "path/to/app"

[appium_lib]
port = 8080
```

:app is expanded
:require is expanded
all keys are converted to symbols

__Parameters:__

     [Hash] opts - file: '/path/to/appium.txt', verbose: true

__Returns:__

     [hash] the symbolized hash with updated :app and :require keys

--

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appium_lib-8.2.0 docs/android_docs.md