Closed
Description
I'd like to remove all the Start-SeXX
functions and instead use
Start-SeDriver -Browser
This will make maintaining the functions easier as they will still have a common endpoint with a common set of features.
Internal functions to each browser might still be used to separate concerns properly.
To provides additional browser options not common to all, potentially, I see a
Get-SeDriverOptions
that would return a hashtable of additional options (eg: So you can easily set the BuiltinPDFreader option exclusive to Chrome, etc)... `
Additionally, I would merge -Minimized / Maximized / FullScreen in a WindowState parameter.
A quick breakdown of the current solution (Start-SeXX)
# Currently partially present.
arguments 2
binarypath 2
defaultdownloadpath 3
webdriverdirectory 4
hideversionhint 2
profiledirectorypath 2
#Already everywhere
asdefaultdriver 5
fullscreen 5
headless 5
implicitwait 5
maximized 5
minimized 5
privatebrowsing 5
quiet 5
starturl 5
#Through additional mean (Get-SeDriverOptions?)
disableautomationextension 1
disablebuiltinpdfviewer 1
enablepdfviewer 1
ignoreprotectedmodesettings 1
suppresslogging 1