Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding HTMLAgilityPack Integration #214

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

ZanattaMichael
Copy link

Adding the HTMLAgilityPack into the module to improve search and functionality.

Features Added:

  1. Get-SeChildElements - Fetches children HTML elements as Selenium Objects.
  2. Get-SeParentElement - Fetches the parent HTML Element as a Selenium object.
  3. Added WrappedHTMLAgilityPack Property to $Driver/$Element
  4. (Unreleated) Updated Find-SeElement to Search for Text Strings. $element = Find-SeElement -Driver $driver -Text 'management framework'

What is the HTML Agility Pack? (https://html-agility-pack.net/)

HAP is an HTML parser written in C# to read/write DOM and supports plain XPATH or XSLT.

Michael Zanatta added 4 commits August 21, 2021 09:27
Embedding HTML AgilityPack into module
Added HTMLAgilityPath Intergration
Added Get-SeChildElements
Added Get-SeParentElement
Selenium.psm1 Outdated Show resolved Hide resolved
ZanattaMichael and others added 3 commits September 18, 2021 09:49
Co-authored-by: Joel Sallow (/u/ta11ow) <[email protected]>
Not required in this PR
Not required
@darderik
Copy link

Any updates on this ?

@ZanattaMichael
Copy link
Author

Hi There! I'm just following up on this PR to see if I need to make any changes.

Thanks!

Michael.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants