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
By default it takes the first connected device to your machine, but you can specify device by calling `.set_udid("udid")` before the `.set_appium_driver()` call.
> All these drivers must be installed and added to you `$PATH` variable
46
+
47
+
> Mozzila Firefox is downloaded automatically and added to `$PATH` but
48
+
> double-check that you have installed
49
+
> [Python certificates if you are using macOS](https://stackoverflow.com/a/53310545/13179904)
50
+
51
+
You can create `TestUIDriver` for Selenium Desktop automation like so
52
+
53
+
```python
54
+
driver: TestUIDriver = (
55
+
NewDriver()
56
+
.set_logger("pytest")
57
+
.set_soft_assert(True)
58
+
.set_selenium_driver()
59
+
)
60
+
```
25
61
26
62
# Configuration
27
63
@@ -45,9 +81,10 @@ driver: TestUIDriver = (
45
81
.set_selenium_driver()
46
82
)
47
83
```
84
+
48
85
## Configuration via `driver.configuration`
49
86
50
-
Another possible way to change default global parameters is to use
87
+
Another possible way to change default global parameters is to use
51
88
`configuration` attribute located under `driver: TestUIDriver` object. These
52
89
parameters can be changed like this at any point of the execution:
53
90
@@ -83,7 +120,7 @@ The automation infrastructure implements the Page Object Model (POM) pattern. Th
83
120
.
84
121
```
85
122
86
-
The test case scripts are in a different class. The scripts import the respective screen package along with additional packages such as PyTest. Each class has any amount of tests. All test methods start with the word “test_” such as:
123
+
The test case scripts are in a different class. The scripts import the respective screen package along with additional packages such as PyTest. Each class has any amount of tests. All test methods start with the word “test\_” such as:
0 commit comments