Extend Selenium with the capability to find web elements and xpaths by one anchor web element or two anchor web elements which have the closest DOM distance to the searching web element. An anchor web element is normally presented by its tag name and its text which is obvious to users such as labels, menu names etc.
Install-Package ExtSelenium -Version 1.0.13
dotnet add package ExtSelenium --version 1.0.13
<PackageReference Include="ExtSelenium" Version="1.0.13" />
paket add ExtSelenium --version 1.0.13
- Improve the precision of getting html document
- Fix the bug of anchor element searched by attribute value but appeared as by own text
Note: if html document is not perfect, the dcsoup library used in this package for html parsing is not as forgiving/smart as Chrome so the search by anchors result can be incorrect sometimes. However, this is very rare and users just need to change search by anchor locator a bit (work-around). This bug will be fixed in future by replacing the dcsoup library by better library for .Net.
This package is not used by any popular GitHub repositories.