Releases: GCuser99/SeleniumVBA
v5.6
version update Added InstallAddon method to WebDriver class for installing Firefox xpi extensions (AddExtensions method in WebCapabilities not allowed for FF)[@dornech] Refactored Base64 encoding/decoding to use more flexible windows API functions to facilitate the above Added --disable-search-engine-choice-screen argument to Chrome capabilities to prevent having to select search engine (EU issue only) [@dornech] Made changes in test modules to facilitate easier testing for devs - Changed most Debug.Print statements to Debug.Assert - Added test_All module containing sub for running all tests back-to-back - Fixed broken test subs due to changes over time in referenced webpages Minor code cleanups
v5.5
version update Fixed bug in AddExtensions method in WebCapabilities class [@dornech] Added test_addExtensions sub in test_Capabilities module to demonstrate above Moved private functions decodeBase64 and saveByteArrayToFile from WebDriver class to WebShared module Corrected (very obscure) bug in GetCompatibleDriverVersion method WebDriverManager class triggered if geckodriver release can't be found (server is down) Few minor code cleanups
v5.4
version update Refactored SwitchToByUrl of WebWindows class and IsPageFound of WebDriver class to be Url encoding/decoding aware Added optional "decode" input argument (default=False) to all methods that return Url string(s) Added test_url_encoding sub to test_Windows module for demonstrating above Added special note in Wiki for using Edge IE Mode in Windows 11 Improved logic in WebJsonConverter to better handle conversion of numbers with decimal separators not equal to "." or "," [@6DiegoDiego] More reorganization of twinBASIC src folder structure Minor code edits/cleanups
v5.3
version update Refactored .gitattributes file to preserve Windows CrLf line endings (see https://github.com/DecimalTurn/VBA-on-GitHub) Fixed bug in GetInstalledBrowserVersion of WebDriverManager class where sometimes Firefox browser register key is not found Refactored json_StringIsLargeNumber of WebJsonConverter class to consider string character order for detection of large numbers Refactored activeVBAProjectFolderPath to handle case where initiation is from a worksheet-embedded ActiveX control click event Minor code cleanups [6DeigoDiego9, GCuser99] Refactored twinBASIC source to more fully take advantage of tB's extended feature set Compiled twinBASIC DLL using older tB compiler v423 to fix Err.Raise bug in more recent tB compiler versions (see https://github.com/twinbasic/twinbasic/issues/1856)
v5.2
version update Removed deprecated method WaitUntilReady from WebDriver and WebElement classes Added test_Authentication module and reorganized related test subs Added SeleniumVBA.xlsm file to dist folder as a test to see if anti-virus false-positive can be avoided (versus SeleniumVBA.xlam)
v5.1
v5.0
Added SetPageLoadStrategy method to the WebCapabilities class [@Pat075]
Added WaitUntilNotDisplayed method to the WebElement/WebDriver classes [@GHRyunosuke]
Renamed WaitUntilReady method of WebElement/WebDriver classes to WaitUntilDisplayed [@GHRyunosuke, @6DiegoDiego9, @GCuser99]
Marked WaitUntilReady method of WebElement/WebDriver classes as DEPRECATED
Fixed bug in activeVBAProjectFolderPath procedure of WebShared module that incorrectly parsed active project's workbook name on some systems [@6DiegoDiego9, @GHRyunosuke]
Substituted enhanced sleep method for api call in WebDriver class [@6DiegoDiego9]
Set srcAttribute argument DownloadResource method of WebDriver/WebElement classes to optional status
Changed name of optional "downloadDirectoryPath" argument for SetDownloadPrefs method of WebCapabilities class to "downloadFolderPath"
Added additional (optional) arguments to SetDownloadPrefs method of WebCapabilities class to provide user more control and to make more transparent what the method actually does
Added test_pageLoadStrategy sub in test_Capabilities module to demo above
Added test_WaitUntilNotDisplayed sub in test_Wait module to demo above
Modified Wiki for changes above
v4.9
version update Removed DEPRECATED methods: -ImplicitWait of WebDriver class - use ImplicitMaxWait instead -ScrollToElement of WebDriver/WebElement classes - use ScrollIntoView instead Refactored WebWindow and WebWindows classes [@6DiegoDiego9]: -Added Url method of WebWindow class that returns the url of the specified WebWindow object -Added SwitchToByUrl method of WebWindows class that activates/returns window with the specified url text -Added Urls method of WebWindows class that returns the collection of open window url strings Added test_windows_SwitchToByUrl sub in test_Windows module to demo above additions Minor mods to modifier key support of WebDriver class's Click method [@GCuser99] Minor mods to WebDriver class's SetCookie method to handle cookie values > 15 digits [@GCuser99] twinBASIC ActiveX DLL: -Modified DLL Setup script to use Bill Stewart's latest version of UninsIS DLL (v1.5.0) Modified Wiki for changes above
v4.8
version update Refactored the way special keys are represented in WebKeyboard class, and used by SendKeys methods: -Special keys are now represented as single (wide) characters, as opposed to escaped strings (e.g. "\uE008") -This change better aligns with unmodified WebJsonConverter, which assumes single (wide) characters as input -Removed modifications (bad logic) to WebJsonConverter to deal with escaped strings -Disabled unnecessary conversion of non-Ascii Unicode characters to escaped strings in ConvertToJson of WebJsonConverter -Refactored SendKeys/SendKeysToOS in WebDriver/WebActionchain classes to align with new representation -This refactor still allows User to explicitly specify escaped strings in string arguments, like previously Scroll Functionality in WebDriver/WebElement classes [@6DiegoDiego9]: -Merged ScrollToElement method's function into ScrollIntoView method -Marked ScrollToElement as DEPRECATED ImplicitWait Property of WebDriver Class [@6DiegoDiego9]: -Renamed to ImplicitMaxWait to avoid user confusion -Marked ImplicitWait as DEPRECATED IsPresent Method of WebDriver/WebElement classes [@GCUser99, @6DiegoDiego9]: -Modified arguments order to be more consistent with FindElement* methods twinBASIC ActiveX DLL: -Added Inno Setup script to repo Modified Wiki for changes above Please update DEPRECATED methods as these will be eliminated in next version
v4.7
version update WebCapabilities class: - Added AddLocalStateFlags method to WebCapabilities class as a shortcut for adding experimental browser flags - Chrome/Edge only [@silver-surfer, https://github.com/GCuser99/SeleniumVBA/issues/63] - Added Error handling to SetDetachBrowser method to solve issue https://github.com/GCuser99/SeleniumVBA/issues/82 - Added Friend property Get CommandWindowStyle to WebDriver class for use in SetDetachBrowser error handling WebDriver class: - Added SetDownloadFolder method for setting download folder w/o needing to set in capabilities - Chrome/Edge only - Added "Set lastElems = Nothing" to Shutdown method so that terminate event of WebDriver class fires WebDriver/WebElement classes: - Added maxWaitTimeMS argument/functionality to IsDisplayed, IsSelected, and IsEnabled methods ActiveX DLL solution: - Removed Err.Raise bug work-around after bug fixed in twinBASIC compiler twinBASIC banner (at least for now) no longer displays for 5 secs at startup - Added 32-bit support for >= Office 2010 Minor Code Cleanups