You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plugin for [hermione](https://github.com/gemini-testing/hermione) which is intended to add/wrap browser commands in order to work properly with the iOS safari browser.
6
+
Plugin for [Testplane](https://github.com/gemini-testing/testplane) which is intended to add/wrap browser commands in order to work properly with the iOS safari browser.
7
7
8
-
You can read more about hermione plugins [here](https://github.com/gemini-testing/hermione#plugins).
8
+
You can read more about Testplane plugins [here](https://github.com/gemini-testing/testplane#plugins).
9
9
10
10
## Installation
11
11
12
12
```bash
13
-
npm install hermione-safari-commands
13
+
npm install @testplane/safari-commands
14
14
```
15
15
16
16
## Usage
@@ -34,16 +34,16 @@ Plugin has following configuration:
34
34
35
35
Also there is ability to override plugin parameters by CLI options or environment variables
36
36
(see [configparser](https://github.com/gemini-testing/configparser)).
37
-
Use `hermione_safari_commands_` prefix for the environment variables and `--hermione-safari-commands-` for the cli options.
37
+
Use `testplane_safari_commands_` prefix for the environment variables and `--testplane-safari-commands-` for the cli options.
38
38
39
-
Add plugin to your `hermione` config file:
39
+
Add plugin to your `testplane` config file:
40
40
41
41
```js
42
42
module.exports= {
43
43
// ...
44
44
system: {
45
45
plugins: {
46
-
'hermione-safari-commands': {
46
+
'@testplane/safari-commands': {
47
47
enabled:true,
48
48
browsers: {
49
49
safari13: {
@@ -82,9 +82,9 @@ module.exports = {
82
82
### Existing safari commands:
83
83
84
84
Wrappers over existing commands:
85
-
***url** - wrapper over wdio "url" in order to wait until the page is completely open (used timeout from [`hermione.pageLoadTimeout`](https://github.com/gemini-testing/hermione#pageloadtimeout) or `30000` ms). In [appium-xcuitest-driver](https://github.com/appium/appium-xcuitest-driver) page is open with using the `xcrun` utility - `xcrun simctl openurl` which just tells the simulator to open the page and does not wait anything;
85
+
***url** - wrapper over wdio "url" in order to wait until the page is completely open (used timeout from [`testplane.pageLoadTimeout`](https://github.com/gemini-testing/testplane#pageloadtimeout) or `30000` ms). In [appium-xcuitest-driver](https://github.com/appium/appium-xcuitest-driver) page is open with using the `xcrun` utility - `xcrun simctl openurl` which just tells the simulator to open the page and does not wait anything;
86
86
***click** - replaces wdio "click" in order to perform real touch click (by default it emits only events on passed element). Should be used with **touch** command;
87
-
***screenshot** - wrapper of wdio "screenshot" in order to cut the native elements from the final image ([calibration](https://github.com/gemini-testing/hermione#calibrate) must be turned off);
87
+
***screenshot** - wrapper of wdio "screenshot" in order to cut the native elements from the final image ([calibration](https://github.com/gemini-testing/testplane#calibrate) must be turned off);
88
88
***orientation** - wrapper of wdio "orientation" in order to recalculate size of native elements for "screenshot" command (turns on automatically when you specify a screenshot command);
89
89
***swipe** - replaces wdio "swipe" in order to perform swipe by coordinates in native context;
90
90
***touch** - replaces wdio "touch" in order to perform touch click by coordinates in native context;
0 commit comments