|
| 1 | +v3.11.1 |
| 2 | +======= |
| 3 | + * Added option to tell ChromeDriver to use the W3C WebDriver protocol dialect |
| 4 | + instead of the legacy open-source dialect. |
| 5 | + * (on behalf of Phillip Haydon) Updated doc strings for FirefoxDriver to |
| 6 | + no longer refer to ChromeDriver |
| 7 | + * Corrected remote URL for IWebElement.GetScreenshot() method. |
| 8 | + * Made ICommandExecutor interface extend IDisposable. |
| 9 | + * Fixed serialization of proxy autoconfig URLs. Fixes issue #5050. |
| 10 | + * Reverted .NET bindings to send spec-compliant new session for all browsers. |
| 11 | + Now that the Java remote server will correctly handle spec-compliant new |
| 12 | + session payload, even for browsers that are not yet spec-compliant, we can |
| 13 | + revert to the original behavior of sending both "capabilities" and |
| 14 | + "desiredCapabilities" properties with new session requests. Reverts commit |
| 15 | + 4ce57f6. |
| 16 | + * Modified to guard against assembly location being empty. When looking for |
| 17 | + supporting files on disk, the bindings look in the "current working |
| 18 | + directory" where the assembly is written. However, if the assembly has been |
| 19 | + embedded in an executable as a resource, and extracted into memory at |
| 20 | + runtime, the location will be blank. This commit prevents the exception |
| 21 | + being thrown, at the expense of possibly looking in the wrong directory. |
| 22 | + * Added locking for lazy-load of static dictionary. When running in parallel, |
| 23 | + there is a chance that multiple threads could attempt to populate a static |
| 24 | + dictionary used for translating error codes. This commit adds locking around |
| 25 | + the initialization of the static dictionary. Note that we are not using |
| 26 | + "double-check" locking, but the locking we use should be good enough. Fixes |
| 27 | + issue #3166. |
| 28 | + * (On behalf of John Chen) Fixed ChromeDriver NetworkConditions setter. The |
| 29 | + JSON object generated by the .NET version of ChromeDriver NetworkConditions |
| 30 | + setter had incorrect format, and was rejected by ChromeDriver. |
| 31 | + * Added sending a user-agent string for .NET remote HTTP requests to a remote |
| 32 | + end (Java standalone server, IEDriverServer.exe, chromedriver.exe, |
| 33 | + geckodriver.exe, etc.). Addresses #5657 for .NET. |
| 34 | + * Fixed .NET ChromeDriver network conditions commands URLs. Fixes issue #5693. |
| 35 | + * Added BeforeRemoteHttpRequest event to .NET RemoteWebDriver. This commit |
| 36 | + adds the ability for advanced users of the .NET bindings RemoteWebDriver |
| 37 | + class to modify the HTTP command sent from the .NET WebDriver code to the |
| 38 | + remote WebDriver server. Note carefully that this **DOES NOT** modify the |
| 39 | + HTTP request between the browser and the web server, and is not a mechanism |
| 40 | + for getting access to that HTTP request. Usage of this new event would look |
| 41 | + something like this: |
| 42 | + |
| 43 | + public void StartDriver() |
| 44 | + { |
| 45 | + HttpCommandExecutor executor = new HttpCommandExecutor( |
| 46 | + new Url("http://localhost:4444/wd/hub"), TimeSpan.FromSeconds(60)); |
| 47 | + executor.BeforeRemoteHttpRequest += BeforeRemoteHttpRequestHandler; |
| 48 | + ICapabilities capabilities = new ChromeOptions().ToCapabilities(); |
| 49 | + IWebDriver driver = new RemoteWebDriver(executor, capabilities); |
| 50 | + } |
| 51 | + |
| 52 | + public void BeforeRemoteHttpRequestHandler( |
| 53 | + object sender, BeforeRemoteHttpRequestEventArgs e) |
| 54 | + { |
| 55 | + // Note: WebRequest.DefaultWebProxy is an IWebProxy implementation. |
| 56 | + // This could be anything, from adding additional headers, to modifying |
| 57 | + // the content of the request. Use with extreme caution. |
| 58 | + e.Request.Proxy = WebRequest.DefaultWebProxy; |
| 59 | + e.Request.AutomaticDecompression = DecompressionMethods.GZip |
| 60 | + } |
| 61 | + |
| 62 | + * (On behalf of Samuel Bétrisey) Add support for Basic Access Authentication |
| 63 | + in .NET RemoteWebDriver. The username and password of the Uri wasn't used |
| 64 | + by the HttpWebRequest. Usage example: |
| 65 | + |
| 66 | + new RemoteWebDriver(new Uri("http://user: [email protected]/wd/hub"), |
| 67 | + DesiredCapabilities.Chrome()); |
| 68 | + |
| 69 | + * (On behalf of "granak") Null cookie value fix. Cookies with empty string |
| 70 | + values would throw exceptions. |
| 71 | + * Enabled reconstitution of .NET FirefoxOptions from raw capabilities. This |
| 72 | + is a temporary measure until DesiredCapabilities is done away with for good. |
| 73 | + Fixes issue #4855. |
| 74 | + * Modified to write screenshots using the Save overload that takes a |
| 75 | + System.IO.FileStream object. Rather than using the Image.Save overload that |
| 76 | + takes a string containing the file name, we should use a FileStream. The |
| 77 | + FileStream object handles validating the existence of the path to which one |
| 78 | + is attempting to write, so this will avoid the cryptic GDI+ error that |
| 79 | + occurs if the file already exists. Additionally, the SaveAsFile method now |
| 80 | + does what it says on the tin, that the file will be overwritten if it |
| 81 | + already exists. Fixes issue #4645. |
| 82 | + * (On behalf of Sean Rand) Added overload argument to the |
| 83 | + SelectElement.SelectByText method. The XML summary informs that the method |
| 84 | + provides partial match ability on the options by Text. However this wasn't |
| 85 | + fully implemented so pushed the ability via a boolean to perform such a |
| 86 | + partial match on an options list. Fixes issue #3575. |
| 87 | + * (On behalf of Sean Rand) Added test playlists for each .NET test project in |
| 88 | + the repo. This is to help aid running of all tests in a specific project. |
| 89 | + Originally, this was intended to simply add a playlist for the support tests |
| 90 | + but adding playlists for all of the test projects is a better approach. |
| 91 | + Fixes issue #3805. |
| 92 | + * (On behalf of Arnon Axelrod) Added the new value of the element to the |
| 93 | + ElementValueChanged and ElementValueChanging event args. This commit also |
| 94 | + creates a new overload of OnElementChanging and OnElementChanged but also |
| 95 | + keeps the original overloads to preserve backward compatibility. |
| 96 | + Additionally, the original overloads are marked with the [Obsolete] |
| 97 | + attribute to let users know they should migrate to the new overloads. |
| 98 | + * Fixed proxy bypass address serialization for legacy .NET drivers. The W3C |
| 99 | + WebDriver Specification states that the list of addresses to bypass in a |
| 100 | + proxy configuration should be an array. The legacy OSS dialect of the |
| 101 | + protocol specifies it must be a string. This commit fixes the serialization |
| 102 | + for the non-spec-compliant case, serializing it as a semicolon-separated |
| 103 | + list. Fixes issue #5645. |
| 104 | + * Updating .NET to not propagate non-W3C compliant capability names. Fixes |
| 105 | + issue #5646. |
| 106 | + * Added new property for geckodriver --jsdebugger commmand line switch to |
| 107 | + FirefoxDriverService object. |
| 108 | + * (On behalf of Christopher Buttkus) Added LeftShift, LeftAlt, LeftControl, |
| 109 | + Command, and Meta as KeyDown/Up events for .NET |
| 110 | + * (On behalf of "vflame") Added ability to install Firefox addon using |
| 111 | + manifest.json. Firefox addons/extensions built with WebExtensions API have a |
| 112 | + manifest.json instead of install.rdf. When Selenium extract the addon/ |
| 113 | + extension id, it only looked for install.rdf. This fix adds extracting the |
| 114 | + addon/extension id from the manifest.json in addition to install.rdf. Fixes |
| 115 | + issue #4093. |
| 116 | + * (On behalf of Yevgeniy Shunevych) Fixed AddEncodedExtension methods of |
| 117 | + ChromeOptions and OperaOptions |
| 118 | + * Updated .NET strong-named assembly build to correct package references. |
| 119 | + Fixes issue #5511. |
| 120 | + * Updated WebDriverBackedSelenium .csproj file to embed resources. This step |
| 121 | + was omitted when the build process for the .NET bindings was migrated from |
| 122 | + crazy-fun to Buck. Fixes issue #5528. |
| 123 | + * Streamlined Actions class. The Actions class will now throw an exception |
| 124 | + on instantiation if the IWebDriver instance passed into the constructor does |
| 125 | + not also implement IActionExecutor. This will help folks who wrap the |
| 126 | + standard WebDriver driver classes to be able to continue to work with the |
| 127 | + Actions class. |
| 128 | + |
1 | 129 | v3.11.0
|
2 | 130 | =======
|
3 | 131 | * Added support for intercepted element clicks. This adds a new exception,
|
|
0 commit comments