Releases: GCuser99/SeleniumVBA
v4.2
version update Added ExecuteCDP method to WebDriver class to expose Chrome DevTools Protocol methods for browser automation Added ExecuteCmd method to WebDriver class to facilitate testing of new/unwrapped Selenium WebDriver commands Added SaveBase64StringToFile, and ResolvePath helper methods for above to WebDriver class Added GetElementId helper method for above to WebDriver and WebElement classes Added SendAlert method to WebDriver class Refactored execute procedure of WebDriver class for improved clarity and error handling: - Added optional receiveTimeout input argument - Moved OpenBrowser-specific error handling to OpenBrowser method - Added code to handle non-standard Selenium and server communication errors - Added clientStatus error code to response package for caller error handling Added implicit wait, page load timeout, and script timeout default parameters to SeleniumVBA ini file Added globals to WebDriver class to track timeout settings for avoiding unnecessary calls to Selenium WebDriver Extended OpenBrowser receiveTimeout from 3 secs to 10 secs to accomodate slower computers Added optional arguments to NavigateToFile method of WebDriver class to align with same in NavigateTo method Added file-exits check to NavigateToFile method of WebDriver class Modified DefaultIOfolder get property of WebDriver class to return the default path Added full screenshot option to SaveScreenshot method of WebDriver class Added SetGeolocationAware method to WebCapabilities class to turn on/off browser geolocation Added CtrlShiftKey method to WebActionChain class Added test_ExecuteCmd and test_ExcuteCDP standard modules Removed test_UserAgent standard module Added more test procedures to test_ExecuteScript, test_Wait, test_IsPresent and others Minor code mods and cleanup Designed DLL work-around for twinBASIC Err.Raise issue https://github.com/twinbasic/twinbasic/issues/464 Updated Help and Object model pages in Wiki, and SeleniumVBA Readme file
v4.1
version update
Enhancements\fixes to ScrollIntoView method of WebDriver and WebElement classes [@6DiegoDiego9]
Set shorter default timeout when executing "capabilities" commands if no web communication [@6DiegoDiego9]
More user-friendly error is raised when unsupported XPath selector is used in Shadow Roots [@6DiegoDiego9]
Added IsPresent method to WebElement class [@GHRyunosuke, @GCUser99]
Added test_IsPresent module to testing source [@GCUser99]
Minor cleanups [@6DiegoDiego9, @GCUser99]
Refactored code base for proper handling of Unicode characters in strings: [@GCUser99]
Replaced all Ansi Windows API declares with Unicode Wide versions
Replaced all native VBA7 file system functions with FSO and ADODB versions
Added ADODB library to references
Modified CreateSettingsFile method of WebDriver class to output Unicode text
v4.0
version update Fixed bug in GetLatestDriverVersion method of WebDriverManager class that prevented minor build updates for IEDriverServer from being recognized Fixed bug in WaitForDownload method of WebDriver class that would occasionally cause an infinite loop while waiting for download Minor updates to README files and test_Capabilities module
v3.9
version update Fixed bug in addToOptionsList of WebCapabilities class that was not correctly merging runtime specified capabilities with preloaded capabilities Added new headless mode argument value to Edge browser in WebCapabilities class Added optional parameter to IsPresent method of WebDriver class to allow user to obtain a reference to the element object, if present [@6DiegoDiego9]
v3.8
Fixed bug in FindElementsFromShadowRoot method of WebDriver class [@6DiegoDiego9]
Implemented new headless mode for Chrome browser - see issue #78 concerning Edge browser
Fixed bug in RunIncognito method of WebCapabilities class (IE browser not set correctly)
Removed error trap for Firefox browser in GetArialRole and GetArialLabel methods of WebDriver class (supported for Geckodriver v0.33.0 and Firefox browser v113)
Removed comment in PrintPDF method of WebDriver class warning that the PrintPDF method only applies to headless mode - this condition is no longer necessary.
Modified test_Print module to reflect the changes in PrintPDF
v3.7
v3.6
version update
Added WaitForDownload and WaitUntilNotPresent methods to Webdriver class
Refactored WaitUntilReady method to default to wait for condition indefinitely unless user specifies a maximum wait time
Changed name of test_WaitUntilReady module to test_Wait
Added SetDebuggerAddress option method to WebCapabilities class to allow for attaching WebDriver to a pre-existing browser window
Added test_remoteDebugger procedure to test modules
Changed SetScriptTimeout, SetPageLoadTimeout, and SetImplictlyWait and "Get" counterparts from functions to Property Let/Get's ScriptTimeout, PageLoadTimeout, and ImplicitWait [@6DiegoDiego9]
Changed all non-public procedures to camel-case to more easily differentiate public object model from private helpers [@6DiegoDiego9]
Made a few other minor code changes for consistency and readability
Completed first-draft Wiki docs
Added Wiki documentation link to DLL install package
Added cleanup_drivers.vbs script to DLL install package
v3.5.1
Refactored CreateSettingsFile to optionally preserve valid settings entry values from old ini file if already exists
Modified twinBasic Installer to optionally preserve valid settings entry values from old ini file if already exists
Modified twinBasic DLL to allow use without registration
Added VBScript examples to twinBasic installer package
Added optional input argument to PageTo*File methods to allow user to choose between unicode and ascii output format
Converted all use of Chr() function from variant to string versions
Updated license header format
Added more twinBasic materials in dev\twinBasic folder
v3.5
Refactored CreateSettingsFile to optionally preserve valid settings entry values from old ini file if already exists
Modified twinBasic Installer to optionally preserve valid settings entry values from old ini file if already exists
Modified twinBasic DLL to allow use without registration
Added VBScript examples to twinBasic installer package
Added optional input argument to PageTo*File methods to allow user to choose between unicode and ascii output format
Converted all use of Chr() function from variant to string versions
Updated license header format
Added more twinBasic materials in dev\twinBasic folder