Skip to content

Commit 6bc81e0

Browse files
Increase project version to 2.0.0
1 parent 0bba8e2 commit 6bc81e0

File tree

2 files changed

+46
-36
lines changed

2 files changed

+46
-36
lines changed

README.md

Lines changed: 44 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ C#/.NET package for [Atata](https://github.com/atata-framework/atata) configurat
1212

1313
*The package targets .NET Standard 2.0, which supports .NET 5+, .NET Framework 4.6.1+ and .NET Core/Standard 2.0+.*
1414

15-
**[What's new in v1.8.0](https://atata.io/blog/2021/11/12/atata.configuration.json-1.8.0-released/)**
15+
**[What's new in v2.0.0](https://github.com/atata-framework/atata-configuration-json/releases/tag/v2.0.0)**
1616

1717
## Table of Contents
1818

@@ -286,21 +286,18 @@ with help of `{env:VarName}` template insertions.
286286
"browser": "Info",
287287
"driver": "Warning"
288288
},
289-
"additionalCapabilities": { // Dictionary of capabilityName and capabilityValue.
290-
// Invokes AddAdditionalCapability method of DriverOptions for each item.
291-
"cap1": true,
292-
"cap2": 5,
293-
"cap3": "str"
294-
},
295-
"globalAdditionalCapabilities": { // Chrome, Firefox, InternetExplorer and Opera specific.
296-
// Dictionary of capabilityName and capabilityValue.
297-
// Invokes AddAdditionalCapability(name, value, true) method of driver specific options (e.g., ChromeOptions) for each item.
289+
"additionalOptions": { // Dictionary of additional driver options.
298290
"globalcap1": true,
299291
"globalcap2": 5,
300292
"globalcap3": "str"
301293
},
302-
"proxy": { // Chrome, Firefox, Opera and Internet Explorer specific.
303-
// Configures instance of OpenQA.Selenium.Proxy type.
294+
"additionalBrowserOptions": { // Chrome, Firefox, Edge, InternetExplorer and Opera specific.
295+
// Dictionary of additional browser options.
296+
"cap1": true,
297+
"cap2": 5,
298+
"cap3": "str"
299+
},
300+
"proxy": { // Configures instance of OpenQA.Selenium.Proxy type.
304301
"kind": "Manual" // Supports values of OpenQA.Selenium.ProxyKind enum.
305302
"httpProxy": "string",
306303
"ftpProxy": "string",
@@ -311,42 +308,30 @@ with help of `{env:VarName}` template insertions.
311308
"proxyAutoConfigUrl": "string",
312309
"bypassAddresses": [ "string", "string" ]
313310
},
314-
"arguments": [ "string", "string" ], // Chrome, Firefox and Opera specific.
315-
"excludedArguments": [ "string", "string" ], // Chrome and Opera specific.
311+
"arguments": [ "string", "string" ], // Chrome, Firefox, Edge and Opera specific.
312+
"excludedArguments": [ "string", "string" ], // Chrome, Edge and Opera specific.
316313
"extensions": [ "string", "string" ], // Chrome, Edge and Opera specific.
317-
"encodedExtensions": [ "string", "string" ], // Chrome and Opera specific.
318-
"windowTypes": [ "string", "string" ], // Chrome specific.
319-
"performanceLoggingPreferences": { // Chrome specific.
320-
// Configures instance of OpenQA.Selenium.Chrome.ChromePerformanceLoggingPreferences type.
314+
"encodedExtensions": [ "string", "string" ], // Chrome, Edge and Opera specific.
315+
"windowTypes": [ "string", "string" ], // Chrome and Edge specific.
316+
"performanceLoggingPreferences": { // Chrome and Edge specific.
317+
// Configures instance of OpenQA.Selenium.Chromium.ChromiumPerformanceLoggingPreferences type.
321318
"isCollectingNetworkEvents": false,
322319
"isCollectingPageEvents": false,
323-
"isCollectingTimelineEvents": false,
324320
"bufferUsageReportingInterval": "00:01:10",
325321
"tracingCategories": [ "string", "string" ]
326322
},
327-
"userProfilePreferences": { // Chrome and Opera specific.
323+
"userProfilePreferences": { // Chrome, Edge and Opera specific.
328324
// Dictionary of preferenceName and preferenceValue.
329325
// Invokes AddUserProfilePreference method of driver specific options (e.g., ChromeOptions) for each item.
330326
"pref1": false,
331327
"pref2": "str"
332328
},
333-
"localStatePreferences": { // Chrome and Opera specific.
329+
"localStatePreferences": { // Chrome, Edge and Opera specific.
334330
// Dictionary of preferenceName and preferenceValue.
335331
// Invokes AddLocalStatePreference method of driver specific options (e.g., ChromeOptions) for each item.
336332
"pref1": 2.7,
337333
"pref2": true
338334
},
339-
"mobileEmulationDeviceName": "string", // Chrome specific.
340-
// Invokes EnableMobileEmulation(string deviceName) method of ChromeOptions.
341-
"mobileEmulationDeviceSettings": { // Chrome specific.
342-
// Configures instance of OpenQA.Selenium.Chrome.ChromeMobileEmulationDeviceSettings type.
343-
// Invokes EnableMobileEmulation(ChromeMobileEmulationDeviceSettings deviceSettings) method of ChromeOptions.
344-
"userAgent": "string",
345-
"width": 100,
346-
"height": 100,
347-
"pixelRation": 1.5,
348-
"enableTouchEvents": true
349-
},
350335
"profile": { // Firefox specific.
351336
// Configures instance of OpenQA.Selenium.Firefox.FirefoxProfile type.
352337
"profileDirectory": "string",
@@ -357,8 +342,7 @@ with help of `{env:VarName}` template insertions.
357342
"pref2": 5,
358343
"pref3": "str"
359344
},
360-
"extensions": [ "string", "string" ],
361-
"{{profilePropertyName}}": "value" // Any property of FirefoxProfile type.
345+
"extensions": [ "string", "string" ]
362346
},
363347
"preferences": { // Firefox specific.
364348
// Dictionary of preferenceName and preferenceValue.
@@ -367,6 +351,25 @@ with help of `{env:VarName}` template insertions.
367351
"pref2": 5,
368352
"pref3": "str"
369353
},
354+
"mobileEmulationDeviceName": "string", // Chrome and Edge specific.
355+
// Invokes EnableMobileEmulation(string deviceName) method of ChromeOptions.
356+
"mobileEmulationDeviceSettings": { // Chrome and Edge specific.
357+
// Configures instance of OpenQA.Selenium.Chromium.ChromiumMobileEmulationDeviceSettings type.
358+
// Invokes EnableMobileEmulation(ChromiumMobileEmulationDeviceSettings deviceSettings) method of ChromeOptions.
359+
"userAgent": "string",
360+
"width": 100,
361+
"height": 100,
362+
"pixelRation": 1.5,
363+
"enableTouchEvents": true
364+
},
365+
"androidOptions": { // Chrome, Firefox and Edge specific.
366+
"androidPackage": "pack1",
367+
"androidDeviceSerial": "serial",
368+
"androidActivity": "act1",
369+
"useRunningApp": true, // Chrome specific.
370+
"androidProcess": "proc", // Chrome specific.
371+
"androidIntentArguments": [ "arg1", "arg2" ] // Firefox specific.
372+
},
370373
"{{driverOptionsPropertyName}}": "value" // Any property of driver specific options (e.g.: ChromeOptions).
371374
},
372375
"service": { // Configures driver service.
@@ -385,6 +388,8 @@ with help of `{env:VarName}` template insertions.
385388
"timeZone": "string", // For example: "UTC".
386389
"artifactsPath": "string",
387390

391+
"defaultControlVisibility": "string", // Supports: "Any" (default), "Visible" and "Invisible".
392+
388393
"baseRetryTimeout": 5, // Sets the base retry timeout in seconds.
389394
"baseRetryInterval": 0.5, // Sets the base retry interval in seconds.
390395
"elementFindTimeout": 5, // Sets the element find timeout in seconds.
@@ -394,6 +399,10 @@ with help of `{env:VarName}` template insertions.
394399
"verificationTimeout": 5, // Sets the verification timeout in seconds.
395400
"verificationRetryInterval": 0.5, // Sets the verification retry interval in seconds.
396401

402+
"variables": {
403+
"{{anyVariableName}}": "value" // Any custom variable. Value can be string, number or boolean.
404+
},
405+
397406
"assertionExceptionType": "string", // Replaces Atata.AssertionException type with custom type, e.g.: "NUnit.Framework.AssertionException, nunit.framework".
398407
"aggregateAssertionExceptionType": "string", // Replaces Atata.AggregateAssertionException type with custom type, e.g.: "MyApp.AggregateAssertionException, MyApp.Library".
399408
"aggregateAssertionStrategyType": "string", // Sets the type name of the aggregate assertion strategy. The type should implement IAggregateAssertionStrategy.
@@ -431,6 +440,7 @@ with help of `{env:VarName}` template insertions.
431440
"{{logConsumerPropertyName}}": "value" // Any property of log consumer.
432441
}
433442
],
443+
434444
"screenshotConsumers": [ // Configures list of screenshot consumers.
435445
{
436446
"type": "file", // Supports: "file" and custom consumers registered via ScreenshotConsumerAliases.Register method.

src/Atata.Configuration.Json/Atata.Configuration.Json.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0</TargetFrameworks>
5-
<Version>2.0.0-beta.3</Version>
5+
<Version>2.0.0</Version>
66
<Description>C#/.NET package for Atata configuration through JSON files.
77

88
The package targets .NET Standard 2.0, which supports .NET 5+, .NET Framework 4.6.1+ and .NET Core/Standard 2.0+.
@@ -19,7 +19,7 @@ Features:
1919
<RepositoryUrl>https://github.com/atata-framework/atata-configuration-json</RepositoryUrl>
2020
<PackageId>Atata.Configuration.Json</PackageId>
2121
<PackageTags>atata automation testing test selenium webdriver browser configuration</PackageTags>
22-
<PackageReleaseNotes></PackageReleaseNotes>
22+
<PackageReleaseNotes>https://github.com/atata-framework/atata-configuration-json/releases/tag/v2.0.0</PackageReleaseNotes>
2323
<PackageProjectUrl>https://github.com/atata-framework/atata-configuration-json</PackageProjectUrl>
2424
</PropertyGroup>
2525

0 commit comments

Comments
 (0)