browserstack-ruby-sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.txt +52 -0
- data/README.md +115 -0
- data/STYLE_GUIDE.md +43 -0
- data/exe/browserstack-sdk +8 -0
- data/generated/browserstack/sdk/v1/sdk_pb.rb +80 -0
- data/generated/browserstack/sdk/v1/sdk_services_pb.rb +47 -0
- data/lib/browserstack/browserstack_logger_factory.rb +123 -0
- data/lib/browserstack/browserstack_ruby_agent.rb +123 -0
- data/lib/browserstack/child_initializer.rb +123 -0
- data/lib/browserstack/cli/browserstack_cli.rb +123 -0
- data/lib/browserstack/cli/grpc_client.rb +123 -0
- data/lib/browserstack/cli/sdk_cli_utils.rb +123 -0
- data/lib/browserstack/command_executor.rb +123 -0
- data/lib/browserstack/config/browserstack_config.rb +123 -0
- data/lib/browserstack/constants.rb +123 -0
- data/lib/browserstack/eventbus/event.rb +123 -0
- data/lib/browserstack/eventbus/event_dispatcher.rb +123 -0
- data/lib/browserstack/frameworks/automationFrameworks/automation_framework.rb +123 -0
- data/lib/browserstack/frameworks/automationFrameworks/selenium_framework.rb +123 -0
- data/lib/browserstack/frameworks/constants/automation_constants.rb +123 -0
- data/lib/browserstack/frameworks/state/automation_framework_state.rb +123 -0
- data/lib/browserstack/frameworks/state/hook_state.rb +123 -0
- data/lib/browserstack/frameworks/state/test_framework_state.rb +123 -0
- data/lib/browserstack/frameworks/testFrameworks/cucumber_framework.rb +123 -0
- data/lib/browserstack/frameworks/testFrameworks/test_framework.rb +123 -0
- data/lib/browserstack/instance/automation_framework_instance.rb +123 -0
- data/lib/browserstack/instance/test_framework_instance.rb +123 -0
- data/lib/browserstack/instance/tracked_context.rb +123 -0
- data/lib/browserstack/instance/tracked_instance.rb +123 -0
- data/lib/browserstack/modules/base_module.rb +123 -0
- data/lib/browserstack/modules/web_driver_module.rb +123 -0
- data/lib/browserstack/monitor/performance.rb +123 -0
- data/lib/browserstack/monitor/performance_annotator.rb +123 -0
- data/lib/browserstack/monitor/performance_constants.rb +123 -0
- data/lib/browserstack/monitor/performance_test.rb +123 -0
- data/lib/browserstack/monitor/sdk_integration.rb +123 -0
- data/lib/browserstack/patches/appium_lib_core_patch.rb +123 -0
- data/lib/browserstack/patches/cucumber_patches.rb +123 -0
- data/lib/browserstack/patches/selenium_patches.rb +123 -0
- data/lib/browserstack/runner.rb +123 -0
- data/lib/browserstack/utils/api_utility_methods.rb +123 -0
- data/lib/browserstack/utils/framework_detector.rb +123 -0
- data/lib/browserstack/utils/http_calls.rb +123 -0
- data/lib/browserstack/utils/util_method.rb +123 -0
- data/lib/browserstack/version.rb +123 -0
- data/lib/browserstack_sdk.rb +123 -0
- data/proto/browserstack/sdk/v1/sdk.proto +487 -0
- data/sample/browserstack_sample.yml +298 -0
- metadata +218 -0
|
@@ -0,0 +1,487 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package browserstack.sdk.v1;
|
|
4
|
+
|
|
5
|
+
// import "google/protobuf/struct.proto";
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
service SDK {
|
|
9
|
+
rpc StartBinSession(StartBinSessionRequest) returns (StartBinSessionResponse);
|
|
10
|
+
rpc ConnectBinSession(ConnectBinSessionRequest) returns (ConnectBinSessionResponse);
|
|
11
|
+
rpc StopBinSession(StopBinSessionRequest) returns (StopBinSessionResponse);
|
|
12
|
+
|
|
13
|
+
rpc DriverInit(DriverInitRequest) returns (DriverInitResponse);
|
|
14
|
+
rpc AutomationFrameworkInit(AutomationFrameworkInitRequest) returns (AutomationFrameworkInitResponse);
|
|
15
|
+
rpc AutomationFrameworkStart(AutomationFrameworkStartRequest) returns (AutomationFrameworkStartResponse);
|
|
16
|
+
rpc AutomationFrameworkStop(AutomationFrameworkStopRequest) returns (AutomationFrameworkStopResponse);
|
|
17
|
+
rpc TestOrchestration(TestOrchestrationRequest) returns (TestOrchestrationResponse);
|
|
18
|
+
|
|
19
|
+
rpc FindNearestHub(FindNearestHubRequest) returns (FindNearestHubResponse);
|
|
20
|
+
|
|
21
|
+
rpc AIBrowserExtension(AIBrowserExtensionRequest) returns (AIBrowserExtensionResponse);
|
|
22
|
+
rpc AISelfHealStep(AISelfHealStepRequest) returns (AISelfHealStepResponse);
|
|
23
|
+
rpc AISelfHealGetResult(AISelfHealGetRequest) returns (AISelfHealGetResponse);
|
|
24
|
+
|
|
25
|
+
rpc AccessibilityConfig(AccessibilityConfigRequest) returns (AccessibilityConfigResponse);
|
|
26
|
+
rpc ObservabilityConfig(ObservabilityConfigRequest) returns (ObservabilityConfigResponse);
|
|
27
|
+
|
|
28
|
+
rpc AccessibilityResult(AccessibilityResultRequest) returns (AccessibilityResultResponse);
|
|
29
|
+
|
|
30
|
+
rpc TestFrameworkEvent(TestFrameworkEventRequest) returns (TestFrameworkEventResponse);
|
|
31
|
+
rpc TestSessionEvent(TestSessionEventRequest) returns (TestSessionEventResponse);
|
|
32
|
+
rpc EnqueueTestEvent(EnqueueTestEventRequest) returns (EnqueueTestEventResponse);
|
|
33
|
+
|
|
34
|
+
rpc LogCreatedEvent(LogCreatedEventRequest) returns (LogCreatedEventResponse);
|
|
35
|
+
|
|
36
|
+
rpc FetchDriverExecuteParamsEvent(FetchDriverExecuteParamsEventRequest) returns (FetchDriverExecuteParamsEventResponse);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message AutomationFrameworkInitRequest {
|
|
40
|
+
string bin_session_id = 1;
|
|
41
|
+
uint32 platform_index = 2;
|
|
42
|
+
string framework_name = 3;
|
|
43
|
+
string framework_version = 4;
|
|
44
|
+
string ref = 5;
|
|
45
|
+
string hub_url = 6;
|
|
46
|
+
bytes capabilities = 7;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
message AutomationFrameworkInitResponse {
|
|
50
|
+
bool success = 1;
|
|
51
|
+
bytes capabilities = 2;
|
|
52
|
+
optional string hub_url = 3;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
message AutomationFrameworkStartRequest {
|
|
56
|
+
string bin_session_id = 1;
|
|
57
|
+
uint32 platform_index = 2;
|
|
58
|
+
string framework_name = 3;
|
|
59
|
+
string framework_version = 4;
|
|
60
|
+
string ref = 5;
|
|
61
|
+
string framework_session_id = 6;
|
|
62
|
+
string hub_url = 7;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
message AutomationFrameworkStartResponse {
|
|
66
|
+
bool success = 1;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
message AutomationFrameworkStopRequest {
|
|
70
|
+
string bin_session_id = 1;
|
|
71
|
+
uint32 platform_index = 2;
|
|
72
|
+
string framework_name = 3;
|
|
73
|
+
string framework_version = 4;
|
|
74
|
+
string ref = 5;
|
|
75
|
+
string framework_session_id = 6;
|
|
76
|
+
string hub_url = 7;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
message AutomationFrameworkStopResponse {
|
|
80
|
+
bool success = 1;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
message DriverInitRequest {
|
|
84
|
+
string bin_session_id = 1;
|
|
85
|
+
uint32 platform_index = 2;
|
|
86
|
+
string ref = 3;
|
|
87
|
+
bytes user_input_params = 4;
|
|
88
|
+
optional string hub_url = 5;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
message DriverInitResponse {
|
|
92
|
+
bool success = 1;
|
|
93
|
+
string bin_session_id = 2;
|
|
94
|
+
bytes capabilities = 3;
|
|
95
|
+
optional string hub_url = 4;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
message EnvMap {
|
|
99
|
+
string bin_session_id = 1;
|
|
100
|
+
map<string, string> entries = 2;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
message EnvStreamProbe {
|
|
104
|
+
bool request = 1;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
message WebDriverStreamRequest {
|
|
108
|
+
string bin_session_id = 1;
|
|
109
|
+
optional string platform_index = 2;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
message WebDriverCommand {
|
|
113
|
+
string framework_session_id = 1;
|
|
114
|
+
string execute_script = 2;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
message FindNearestHubRequest {
|
|
118
|
+
string bin_session_id = 1;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
message FindNearestHubResponse {
|
|
122
|
+
string url = 1;
|
|
123
|
+
uint32 latency = 2;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
message StartBinSessionRequest {
|
|
127
|
+
string bin_session_id = 1;
|
|
128
|
+
string sdk_language = 2;
|
|
129
|
+
string sdk_version = 3;
|
|
130
|
+
string path_project = 4;
|
|
131
|
+
string path_config = 5;
|
|
132
|
+
map<string, string> env_vars = 6;
|
|
133
|
+
repeated string cli_args = 7;
|
|
134
|
+
repeated string frameworks = 8;
|
|
135
|
+
map<string, string> framework_versions = 9;
|
|
136
|
+
string language = 10;
|
|
137
|
+
optional string language_version = 11;
|
|
138
|
+
string test_framework = 12;
|
|
139
|
+
optional string wdio_config = 13;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
message StartBinSessionResponse {
|
|
143
|
+
string bin_session_id = 1;
|
|
144
|
+
string config = 2;
|
|
145
|
+
optional TestHub testhub = 3;
|
|
146
|
+
optional Observability observability = 4;
|
|
147
|
+
optional Accessibility accessibility = 5;
|
|
148
|
+
optional Percy percy = 6;
|
|
149
|
+
optional string cli_args = 7;
|
|
150
|
+
optional string session_framework = 8;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
message ConnectBinSessionResponse {
|
|
154
|
+
string bin_session_id = 1;
|
|
155
|
+
string config = 2;
|
|
156
|
+
optional TestHub testhub = 3;
|
|
157
|
+
optional Observability observability = 4;
|
|
158
|
+
optional Accessibility accessibility = 5;
|
|
159
|
+
optional Percy percy = 6;
|
|
160
|
+
optional string session_framework = 7;
|
|
161
|
+
optional TestOrchestration test_orchestration = 8;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
message TestOrchestration {
|
|
165
|
+
optional bool run_previously_failed_first = 1;
|
|
166
|
+
optional RetryTestsOnFailure retry_tests_on_failure = 2;
|
|
167
|
+
optional AbortBuildOnFailure abort_build_on_failure = 3;
|
|
168
|
+
optional bool rerun_previously_failed = 4;
|
|
169
|
+
optional bool skip_failing_and_flaky = 5;
|
|
170
|
+
optional RunSmartSelection run_smart_selection = 6;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
message RunSmartSelection {
|
|
174
|
+
bool enabled = 1;
|
|
175
|
+
string mode = 2;
|
|
176
|
+
repeated string source = 3;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
message RetryTestsOnFailure {
|
|
180
|
+
bool enabled = 1;
|
|
181
|
+
uint32 max_retries = 2;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
message AbortBuildOnFailure {
|
|
185
|
+
bool enabled = 1;
|
|
186
|
+
uint32 max_failures = 2;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
message TestOrchestrationRequest{
|
|
190
|
+
string bin_session_id = 1;
|
|
191
|
+
repeated string test_files = 2;
|
|
192
|
+
optional string orchestration_strategy = 3;
|
|
193
|
+
optional string orchestration_metadata = 4;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
message TestOrchestrationResponse{
|
|
197
|
+
bool success = 1;
|
|
198
|
+
repeated string ordered_test_files = 2;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
message StopBinSessionRequest {
|
|
202
|
+
string bin_session_id = 1;
|
|
203
|
+
optional uint32 exit_code = 2;
|
|
204
|
+
optional string exit_signal = 3;
|
|
205
|
+
optional string exit_reason = 4;
|
|
206
|
+
optional string custom_metadata = 5;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
message StopBinSessionResponse {
|
|
210
|
+
bool success = 1;
|
|
211
|
+
optional string error = 2;
|
|
212
|
+
optional string automate_buildlink = 3;
|
|
213
|
+
optional string hashed_id = 4;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
message ConnectBinSessionRequest {
|
|
217
|
+
string bin_session_id = 1;
|
|
218
|
+
optional uint32 platform_index = 2;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
// AI
|
|
222
|
+
message AIBrowserExtensionRequest {
|
|
223
|
+
string bin_session_id = 1;
|
|
224
|
+
string browser_name = 2;
|
|
225
|
+
string browser_version = 3;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
message AIBrowserExtensionResponse {
|
|
229
|
+
string extension = 1;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
message AISelfHealGetRequest {
|
|
233
|
+
string bin_session_id = 1;
|
|
234
|
+
optional string platform_index = 2;
|
|
235
|
+
|
|
236
|
+
string framework_session_id = 3;
|
|
237
|
+
string locator_type = 4;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
message AISelfHealGetResponse {
|
|
241
|
+
bool success = 1;
|
|
242
|
+
string framework_session_id = 2;
|
|
243
|
+
optional string locator_type = 3;
|
|
244
|
+
optional string locator_value = 4;
|
|
245
|
+
optional bool ai_healing = 5;
|
|
246
|
+
optional string error = 6;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
message AISelfHealStepRequest {
|
|
250
|
+
string bin_session_id = 1;
|
|
251
|
+
optional string platform_index = 2;
|
|
252
|
+
|
|
253
|
+
string framework_session_id = 3;
|
|
254
|
+
bool is_success = 4;
|
|
255
|
+
string locator_type = 5;
|
|
256
|
+
string locator_value = 6;
|
|
257
|
+
string test_name = 7;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
message AISelfHealStepResponse {
|
|
261
|
+
string framework_session_id = 1;
|
|
262
|
+
string execute_script = 2;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// TestHub
|
|
266
|
+
message TestHub {
|
|
267
|
+
string jwt = 1;
|
|
268
|
+
string build_hashed_id = 2;
|
|
269
|
+
bool testhub_events = 3;
|
|
270
|
+
bytes errors = 4;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
message Accessibility {
|
|
274
|
+
bool success = 1;
|
|
275
|
+
optional AccessibilityOptions options = 2;
|
|
276
|
+
optional string error_trace_id = 3;
|
|
277
|
+
optional string code = 4;
|
|
278
|
+
repeated KeyMessage errors = 5;
|
|
279
|
+
optional bool is_app_accessibility = 6;
|
|
280
|
+
|
|
281
|
+
message AccessibilityOptions {
|
|
282
|
+
optional string status = 1;
|
|
283
|
+
repeated AccessibilityCapability capabilities = 2;
|
|
284
|
+
repeated AccessibilityScript scripts = 3;
|
|
285
|
+
optional AccessibilityCommandsToWrap commands_to_wrap = 4;
|
|
286
|
+
|
|
287
|
+
message AccessibilityCommandsToWrap {
|
|
288
|
+
repeated string scripts_to_run = 1;
|
|
289
|
+
repeated AccessibilityCommand commands = 2;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
message AccessibilityCommand {
|
|
293
|
+
string name = 1;
|
|
294
|
+
string library = 2;
|
|
295
|
+
string module = 3;
|
|
296
|
+
string class = 4;
|
|
297
|
+
string method = 5;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
message AccessibilityScript {
|
|
301
|
+
string name = 1;
|
|
302
|
+
string command = 2;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
message AccessibilityCapability {
|
|
306
|
+
string name = 1;
|
|
307
|
+
string value = 2;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
message AccessibilityConfigRequest {
|
|
313
|
+
string bin_session_id = 1;
|
|
314
|
+
uint32 platform_index = 2;
|
|
315
|
+
string framework_name = 3;
|
|
316
|
+
string framework_version = 4;
|
|
317
|
+
string hub_url = 5;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
message AccessibilityConfigResponse {
|
|
321
|
+
bool success = 1;
|
|
322
|
+
optional TestHub testhub = 2;
|
|
323
|
+
optional Accessibility accessibility = 3;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
message KeyMessage {
|
|
327
|
+
string key = 1;
|
|
328
|
+
string message = 2;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
message Observability {
|
|
332
|
+
bool success = 1;
|
|
333
|
+
optional ObservabilityOptions options = 2;
|
|
334
|
+
optional string error_trace_id = 3;
|
|
335
|
+
optional string code = 4;
|
|
336
|
+
repeated KeyMessage errors = 5;
|
|
337
|
+
optional bytes options_as_bytes = 6;
|
|
338
|
+
|
|
339
|
+
message ObservabilityOptions {
|
|
340
|
+
optional string allow_screenshots = 1;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
message Percy {
|
|
345
|
+
bool success = 1;
|
|
346
|
+
string percy_capture_mode = 2;
|
|
347
|
+
string percy_build_id = 3;
|
|
348
|
+
bool is_percy_auto_enabled = 4;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
message ObservabilityConfigRequest {
|
|
352
|
+
string bin_session_id = 1;
|
|
353
|
+
uint32 platform_index = 2;
|
|
354
|
+
string test_framework_name = 3;
|
|
355
|
+
string test_framework_version = 4;
|
|
356
|
+
optional string hub_url = 5;
|
|
357
|
+
optional string capabilities = 6;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
message ObservabilityConfigResponse {
|
|
361
|
+
bool success = 1;
|
|
362
|
+
optional TestHub testhub = 2;
|
|
363
|
+
optional Observability observability = 3;
|
|
364
|
+
optional string capabilities = 4;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
message TestFrameworkEventRequest {
|
|
368
|
+
string bin_session_id = 1;
|
|
369
|
+
uint32 platform_index = 2;
|
|
370
|
+
|
|
371
|
+
string test_framework_name = 3;
|
|
372
|
+
string test_framework_version = 4;
|
|
373
|
+
|
|
374
|
+
string uuid = 5;
|
|
375
|
+
bytes event_json = 6;
|
|
376
|
+
|
|
377
|
+
// event type
|
|
378
|
+
string test_framework_state = 7;
|
|
379
|
+
string test_hook_state = 8;
|
|
380
|
+
|
|
381
|
+
string started_at = 9;
|
|
382
|
+
optional string ended_at = 10;
|
|
383
|
+
optional ExecutionContext execution_context = 11;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
message ExecutionContext {
|
|
387
|
+
string thread_id = 1;
|
|
388
|
+
optional string process_id = 2;
|
|
389
|
+
optional string hash = 3;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
message TestFrameworkEventResponse {
|
|
393
|
+
bool success = 1;
|
|
394
|
+
optional string error = 2;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
message EnqueueTestEventRequest {
|
|
398
|
+
string bin_session_id = 1;
|
|
399
|
+
string event_url = 2;
|
|
400
|
+
bytes event_data_json = 3;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
message EnqueueTestEventResponse {
|
|
404
|
+
bool success = 1;
|
|
405
|
+
optional string error = 2;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
message TestSessionEventRequest {
|
|
409
|
+
string bin_session_id = 1;
|
|
410
|
+
uint32 platform_index = 2;
|
|
411
|
+
|
|
412
|
+
string test_framework_name = 3;
|
|
413
|
+
string test_framework_version = 4;
|
|
414
|
+
string test_framework_state = 5;
|
|
415
|
+
string test_hook_state = 6;
|
|
416
|
+
string test_uuid = 7;
|
|
417
|
+
|
|
418
|
+
repeated AutomationSession automation_sessions = 8;
|
|
419
|
+
optional ExecutionContext execution_context = 9;
|
|
420
|
+
optional bytes capabilities = 10;
|
|
421
|
+
|
|
422
|
+
message AutomationSession {
|
|
423
|
+
string provider = 1;
|
|
424
|
+
optional string product = 2;
|
|
425
|
+
string framework_name = 3;
|
|
426
|
+
string framework_version = 4;
|
|
427
|
+
string framework_session_id = 5;
|
|
428
|
+
optional string ref = 6;
|
|
429
|
+
optional string hub_url = 7;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
message TestSessionEventResponse {
|
|
434
|
+
bool success = 1;
|
|
435
|
+
optional string error = 2;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
message LogCreatedEventRequest {
|
|
439
|
+
string bin_session_id = 1;
|
|
440
|
+
uint32 platform_index = 2;
|
|
441
|
+
repeated LogEntry logs = 3;
|
|
442
|
+
optional ExecutionContext execution_context = 4;
|
|
443
|
+
|
|
444
|
+
message LogEntry {
|
|
445
|
+
string test_framework_name = 1;
|
|
446
|
+
string test_framework_version = 2;
|
|
447
|
+
string test_framework_state = 3;
|
|
448
|
+
string timestamp = 4;
|
|
449
|
+
string uuid = 5;
|
|
450
|
+
string kind = 6;
|
|
451
|
+
bytes message = 7;
|
|
452
|
+
optional string level = 8;
|
|
453
|
+
optional string file_name = 9;
|
|
454
|
+
optional int64 file_size = 10;
|
|
455
|
+
optional string file_path = 11;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
message LogCreatedEventResponse {
|
|
460
|
+
bool success = 1;
|
|
461
|
+
optional string error = 2;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
message AccessibilityResultRequest {
|
|
465
|
+
string bin_session_id = 1;
|
|
466
|
+
string test_run_id = 2;
|
|
467
|
+
string session_id = 3;
|
|
468
|
+
string result_type = 4;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
message AccessibilityResultResponse {
|
|
472
|
+
bool success = 1;
|
|
473
|
+
bytes result_response = 2;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
message FetchDriverExecuteParamsEventRequest {
|
|
477
|
+
string bin_session_id = 1;
|
|
478
|
+
string product = 2;
|
|
479
|
+
optional string script_name = 3;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
message FetchDriverExecuteParamsEventResponse {
|
|
483
|
+
bool success = 1;
|
|
484
|
+
optional string script = 2;
|
|
485
|
+
optional bytes accessibility_execute_params = 3;
|
|
486
|
+
optional string error = 4;
|
|
487
|
+
}
|