Closed mialeska closed 1 week ago
The changes include an update to the Aquality.Selenium.Core
package version, enhancements to the API documentation, a transition from Newtonsoft.Json
to System.Text.Json
for JSON handling, and the introduction of new methods in the ITextBox
interface. Additionally, several tests have been updated or added to validate the new functionality, and configuration settings for the testing framework have been modified to improve browser startup behavior.
Files | Change Summary |
---|---|
Aquality.Selenium/src/Aquality.Selenium/Aquality.Selenium.csproj |
Updated Aquality.Selenium.Core package version from 3.0.12 to 3.1.1 . |
Aquality.Selenium/src/Aquality.Selenium/Aquality.Selenium.xml |
Modified XML documentation for BrowserNavigation , DevToolsHandling , and ITextBox classes. Added BackAsync method and updated parameter types and descriptions. |
Aquality.Selenium/src/Aquality.Selenium/Browsers/DevToolsHandling.cs |
Transitioned from Newtonsoft.Json to System.Text.Json , updating method signatures and parameter types. |
Aquality.Selenium/src/Aquality.Selenium/Elements/Interfaces/ITextBox.cs |
Added Clear() method to ITextBox interface. |
Aquality.Selenium/src/Aquality.Selenium/Elements/TextBox.cs |
Introduced Clear() method to TextBox class for clearing text input. |
Aquality.Selenium/tests/Aquality.Selenium.Tests/Aquality.Selenium.Tests.csproj |
Updated nunit and Microsoft.NET.Test.Sdk package versions. |
Aquality.Selenium/tests/Aquality.Selenium.Tests/Integration/DevToolsEmulationTests.cs |
Updated SetDeviceMetricsOverrideCommandSettings and related classes to version 128. |
Aquality.Selenium/tests/Aquality.Selenium.Tests/Integration/Elements/TextBoxTests.cs |
Added tests for the Clear() method in TextBox . |
Aquality.Selenium/tests/Aquality.Selenium.Tests/Resources/settings.json |
Modified startArguments to include "--disable-search-engine-choice-screen" . |
sequenceDiagram
participant User
participant TextBox
User->>TextBox: Clear()
TextBox->>TextBox: Log action
TextBox->>TextBox: Highlight element
TextBox->>TextBox: Clear content
TextBox-->>User: Text cleared
Objective | Addressed | Explanation |
---|---|---|
Handle StaleElementReferenceException on GenerateLocator (260) | ❌ | No changes related to handling StaleElementReferenceException were made. |
🐰 In the garden where I play,
New methods hop in bright array.
Clear the text, oh what a treat,
With updates swift, my joy's complete!
Aquality shines, a lovely sight,
In code we trust, all feels just right! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
[!TIP]
Early access features: enabled
We are currently testing the following features in early access: - **Anthropic `claude-3-5-sonnet` for code reviews**: Anthropic claims that the new Claude model has stronger code understanding and code generation capabilities than their previous models. Note: Our default code review model was also updated late last week. Please compare the quality of the reviews between the two models by toggling the early access feature. Note: - You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file. - Please join our [Discord Community](https://discord.com/invite/GsXnASn26c) to provide feedback and report issues on the [discussion post](https://discordapp.com/channels/1134356397673414807/1279579842131787838).
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Use System.Text.Json instead of Newtonsoft.Json for DevToolsHandlong Update tests, use --disable-search-engine-choice-screen in tests Add Clear method to ITextBox interface Use new FindElements logic from Aquality.Selenium.Core to avoid possible StaleElementReference while iterating WebElements list to fix #260