Skip to content

Commit 540c35d

Browse files
authored
refactor: fix typos (#807)
1 parent 3a53449 commit 540c35d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ SKIP_IOS=1 appium driver doctor flutter
116116
| appium:skipPortForward | Whether skip port forwarding from the flutter driver local to the device under test with `observatoryWsUri` capability. It helps you to manage the application under test, the observatory URL and the port forwarding configuration. The default is `true`. | true, false |
117117
| appium:remoteAdbHost | The IP/hostname of the remote host ADB is running on. This capability only makes sense for Android platform. Providing it will implicitly override the host for the Observatory URL if the latter is determined from device logs. localhost be default | 192.168.1.20
118118
| appium:adbPort | The port number ADB server is running on. This capability only makes sense for Android platform. 5037 by default | 9999
119-
| appium:forwardingPort | The port number that will be used to forward the traffic from the device under test to locahost. Only applicable if `skipPortForward` is falsy. Not applicable if the test is executed on iOS Simulator. By default, it is the same as in the provided or autodetected Observatory URL. | 9999
119+
| appium:forwardingPort | The port number that will be used to forward the traffic from the device under test to localhost. Only applicable if `skipPortForward` is falsy. Not applicable if the test is executed on iOS Simulator. By default, it is the same as in the provided or autodetected Observatory URL. | 9999
120120
121121
### UIA2/XCUITest driver
122122
@@ -359,7 +359,7 @@ driver.execute_script 'flutter:waitFor', text_finder, 10000
359359
360360

361361
### `isolate` handling
362-
#### Change the flutter engine attache to
362+
#### Change the flutter engine attach to
363363

364364
1. Get available isolate ids
365365
- `id` key in the value of `isolates` by `flutter:getVMInfo`
@@ -485,7 +485,7 @@ For debugging or testing in other programming languages, you can use the APK ava
485485
- Input texts https://github.com/appium/appium-flutter-driver/issues/417
486486
- Looks hanging in `click` https://github.com/appium/appium-flutter-driver/issues/181#issuecomment-1323684510
487487
- `flutter:setFrameSync` may help
488-
- `flutter:waitFor` would help to handle "an element does not exist/is not enabled" behavior. [exmaple issue](https://github.com/appium/appium-flutter-driver/issues/693)
488+
- `flutter:waitFor` would help to handle "an element does not exist/is not enabled" behavior. [example issue](https://github.com/appium/appium-flutter-driver/issues/693)
489489
- Appium Inspector does not work with FLUTTER context
490490
- `enableFlutterDriverExtension()` must be called before calling `WidgetsFlutterBinding.ensureInitialized` to avoid `Binding is already initialized to WidgetsFlutterBinding` error which could cause `"ext.flutter.driver" is not found in "extensionRPCs"` error. [issue](https://github.com/appium/appium-flutter-driver/issues/756)
491491

driver/lib/sessions/base64url.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const decode = (input: string | {ELEMENT: string} | {[util.W3C_WEB_ELEMEN
1212
base64String = input.ELEMENT as string;
1313
} else {
1414
throw new Error(
15-
`Input is is expceted to be a base64-encoded string or a valid element object. ` +
15+
`Input is expected to be a base64-encoded string or a valid element object. ` +
1616
`${JSON.stringify(input)} has been provided instead`);
1717
}
1818
return Buffer.from(base64String, `base64`).toString();

example/nodejs/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const osSpecificOps =
1010
'appium:platformName': 'Android',
1111
'appium:deviceName': 'Pixel 2',
1212
// @todo support non-unix style path
13-
'appium:app': __dirname + '/../../apps/android-real-debug.apk' // download local to run faster and save bandwith
13+
'appium:app': __dirname + '/../../apps/android-real-debug.apk' // download local to run faster and save bandwidth
1414
// app: 'https://github.com/truongsinh/appium-flutter-driver/releases/download/v0.0.4/android-real-debug.apk',
1515
}
1616
: process.env.APPIUM_OS === 'ios'
@@ -20,7 +20,7 @@ const osSpecificOps =
2020
'appium:deviceName': 'iPhone 13',
2121
'appium:connectionRetryTimeout': 60000,
2222
'appium:noReset': true,
23-
'appium:app': __dirname + '/../../apps/ios-sim-debug.zip' // download local to run faster and save bandwith
23+
'appium:app': __dirname + '/../../apps/ios-sim-debug.zip' // download local to run faster and save bandwidth
2424
// app: 'https://github.com/truongsinh/appium-flutter-driver/releases/download/v0.0.4/ios-sim-debug.zip',
2525
}
2626
: {};

0 commit comments

Comments
 (0)