Skip to content

Add flexible session navigation features #55

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

Open
wants to merge 7 commits into
base: v2-speedygonzales
Choose a base branch
from

Conversation

PrzemyslawKlys
Copy link
Member

Summary

  • support clicking by text, regex, or selector in Invoke-HTMLNavigation
  • allow cmdlets to fallback to a global session variable
  • optionally persist new sessions and remove them on close
  • resolve sessions in Save-HTMLScreenshot

Testing

  • dotnet build Sources/PSParseHTML.PowerShell/PSParseHTML.PowerShell.csproj -c Debug
  • pwsh -NoLogo -NoProfile -Command ./PSParseHTML.Tests.ps1

https://chatgpt.com/codex/tasks/task_e_6846fbac63cc832e87933eba12252f1e

…rSessionWpAdmin.ps1

* Updated Invoke-HTMLNavigation calls to include -PassThru for better session handling.
* Added a new navigation example with text parameter for improved functionality.
* Adjusted screenshot saving commands to ensure they work seamlessly with the updated navigation cmdlet.
…n-and-pass-t' of https://github.com/EvotecIT/PSParseHTML into 4fbkir-enhance-invoke-htmlnavigation-cmdlet-with-session-and-pass-t
…ng in Example-BrowserSessionWpAdmin.ps1

* Modified Invoke-HTMLNavigation to include -WaitForNavigation for improved session management.
* Changed the output filename for the screenshot to EvotecPageAdmin5.png for better versioning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant