File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -20,3 +20,31 @@ These events might be disabled if the `appium:skipLogcatCapture` capability is e
20
20
Events are emitted for both emulator and real devices. Each event contains a single Appium server log line.
21
21
Events are always emitted with the ` NATIVE_APP ` context.
22
22
Events are only emitted if the ` get_server_logs ` server security feature is enabled.
23
+
24
+ ## appium: uiautomator2 .contextUpdate
25
+
26
+ This event is emitted upon the context change, either explicit or implicit.
27
+ The event is always emitted upon new session initialization.
28
+ See the [ GitHub feature ticket] ( https://github.com/appium/appium/issues/20741 ) for more details.
29
+
30
+ ### CDDL
31
+
32
+ ``` cddl
33
+ appium:uiautomator2.contextUpdated = {
34
+ method: "appium:uiautomator2.contextUpdated",
35
+ params: {
36
+ name: text,
37
+ type: "NATIVE" / "WEB",
38
+ },
39
+ }
40
+ ```
41
+
42
+ The event contains the following params:
43
+
44
+ ### name
45
+
46
+ Contains the actual name of the new context, for example ` NATIVE_APP ` .
47
+
48
+ ### type
49
+
50
+ Either ` NATIVE ` or ` WEB ` depending on which context is currently active in the driver session.
Original file line number Diff line number Diff line change 57
57
},
58
58
"dependencies" : {
59
59
"appium-adb" : " ^12.7.3" ,
60
- "appium-android-driver" : " ^9.14.2 " ,
60
+ "appium-android-driver" : " ^9.14.7 " ,
61
61
"appium-uiautomator2-server" : " ^7.0.24" ,
62
62
"asyncbox" : " ^3.0.0" ,
63
63
"axios" : " ^1.6.5" ,
You can’t perform that action at this time.
0 commit comments