GenXdev.Webbrowser.psm1

if (-not $IsWindows) {
    throw "This module only supports Windows 10+ x64 with PowerShell 7.5+ x64"
}

$osVersion = [System.Environment]::OSVersion.Version
$major = $osVersion.Major
$build = $osVersion.Build

if ($major -ne 10) {
    throw "This module only supports Windows 10+ x64 with PowerShell 7.5+ x64"
}


. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Approve-FirefoxDebugging.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Clear-WebbrowserTabSiteApplicationData.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Close-Webbrowser.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Close-WebbrowserTab.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Export-BrowserBookmarks.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Find-BrowserBookmark.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Get-BrowserBookmark.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Get-ChromeRemoteDebuggingPort.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Get-ChromiumRemoteDebuggingPort.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Get-ChromiumSessionReference.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Get-DefaultWebbrowser.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Get-EdgeRemoteDebuggingPort.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Get-Webbrowser.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Get-WebbrowserTabDomNodes.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Import-BrowserBookmarks.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Invoke-WebbrowserEvaluation.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Open-BrowserBookmarks.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Open-Webbrowser.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Select-WebbrowserTab.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Set-BrowserVideoFullscreen.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Set-RemoteDebuggerPortInBrowserShortcuts.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Set-WebbrowserTabLocation.ps1"
. "$PSScriptRoot\Functions\GenXdev.Webbrowser\Show-WebsiteInAllBrowsers.ps1"