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
- AppiumBy is available with java-client 8.0.0 . For java-client < 8.0.0, MobileBy can be used.
38
+
39
+
- WebDriverWait constructor requires time to be passed as a type Duration. So with java-client 8.0.0, pass wait time as a new Duration
40
+
- java-client v-7.0.0
41
+
```
42
+
WebElement searchElement = (WebElement) new WebDriverWait(
43
+
driver,
44
+
30
45
+
)
46
+
```
47
+
48
+
java-client v-8.0.0
49
+
```
50
+
WebElement searchElement = (WebElement) new WebDriverWait(
51
+
driver,
52
+
Duration.ofSeconds(30)
53
+
)
54
+
```
55
+
56
+
Refer this for tracking changes in java-client 8.0.0 documentation - [v7-to-v8-migration-guide](https://github.com/appium/java-client/blob/master/docs/v7-to-v8-migration-guide.md#mobileelement)
0 commit comments