Skip to content

Commit 9f79872

Browse files
authored
Release prep (#339)
* Add function description * version bump * Revise link for latest Edgedriver version * Update CL * Update help file * Update readme
1 parent 1c32b24 commit 9f79872

File tree

5 files changed

+56
-50
lines changed

5 files changed

+56
-50
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
Go to [legend](#legend---types-of-changes) for further information about the types of changes.
1111

12-
## [Unreleased]
12+
## [0.10.0]
1313

1414
### Added
1515

@@ -30,6 +30,10 @@ Go to [legend](#legend---types-of-changes) for further information about the typ
3030
- Added DemoStyles(), DemoSelectOptions(), UserTesting()
3131
- Improved demo selection
3232

33+
### Fixed
34+
35+
- _WD_UpdateDriver: Revise URL used to determine latest matching version of Edgedriver
36+
3337
### Removed
3438

3539
- _WD_HighlightElement
@@ -961,7 +965,8 @@ _WD_CapabilitiesDisplay
961965
- Initial release
962966

963967

964-
[Unreleased]: https://github.com/Danp2/au3WebDriver/compare/0.9.1...HEAD
968+
[Unreleased]: https://github.com/Danp2/au3WebDriver/compare/0.10.0...HEAD
969+
[0.10.0]: https://github.com/Danp2/au3WebDriver/compare/0.9.1...0.10.0
965970
[0.9.1]: https://github.com/Danp2/au3WebDriver/compare/0.9.0...0.9.1
966971
[0.9.0]: https://github.com/Danp2/au3WebDriver/compare/0.8.1...0.9.0
967972
[0.8.1]: https://github.com/Danp2/au3WebDriver/compare/0.8.0...0.8.1

README.md

Lines changed: 46 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -68,51 +68,52 @@ This au3WebDriver UDF (project) allows to interact with any browser that support
6868
<summary><i>Helper Functions</i></summary>
6969
<p>
7070

71-
| Name | Description |
72-
| :--- | :--- |
73-
| _WD_NewTab | Create new tab in current browser session. |
74-
| _WD_Attach | Attach to existing browser tab. |
75-
| _WD_LinkClickByText | Simulate a mouse click on a link with text matching the provided string. |
76-
| _WD_WaitElement | Wait for an element in the current tab before returning. |
77-
| _WD_GetMouseElement | Retrieves reference to element below mouse pointer. |
78-
| _WD_GetElementFromPoint | Retrieves reference to element at specified point. |
79-
| _WD_LastHTTPResult | Return the result of the last WinHTTP request. |
80-
| _WD_LastHTTPResponse | Return the response of the last WinHTTP request. |
81-
| _WD_GetFrameCount | Returns the number of frames/iframes in the current document context. |
82-
| _WD_IsWindowTop | Returns a boolean of the session being at the top level, or in a frame(s). |
83-
| _WD_FrameEnter | Enter the specified frame. |
84-
| _WD_FrameLeave | Leave the current frame, to its parent. |
85-
| _WD_HighlightElement | Highlights the specified element. |
86-
| _WD_HighlightElements | Highlights the specified elements. |
87-
| _WD_LoadWait | Wait for a browser page load to complete before returning. |
88-
| _WD_Screenshot | Takes a screenshot of the Window or Element. |
89-
| _WD_PrintToPDF | Print the current tab in paginated PDF format. |
90-
| _WD_jQuerify | Inject jQuery library into current session. |
91-
| _WD_ElementOptionSelect | Find and click on an option from a Select element. |
92-
| _WD_ElementSelectAction | Perform action on designated Select element. |
93-
| _WD_ElementStyle | Set/Get element style property. |
94-
| _WD_ConsoleVisible | Control visibility of the webdriver console app. |
95-
| _WD_GetShadowRoot | Retrieves the shadow root of an element. |
96-
| _WD_SelectFiles | Select files for uploading to a website. |
97-
| _WD_IsLatestRelease | Compares local UDF version to latest release on Github. |
98-
| _WD_UpdateDriver | Replace web driver with newer version, if available. |
99-
| _WD_GetBrowserVersion | Get version number of specified browser. |
100-
| _WD_GetBrowserPath | Retrieve path to browser executable from registry. |
101-
| _WD_GetWebDriverVersion | Get version number of specifed webdriver. |
102-
| _WD_DownloadFile | Download file and save to disk. |
103-
| _WD_SetTimeouts | User friendly function to set webdriver session timeouts. |
104-
| _WD_GetElementById | Locate element by id. |
105-
| _WD_GetElementByName | Locate element by name. |
106-
| _WD_SetElementValue | Set value of designated element. |
107-
| _WD_ElementActionEx | Perform advanced action on designated element. |
108-
| _WD_GetTable | Return all elements of a table. |
109-
| _WD_IsFullScreen | Return a boolean indicating if the session is in full screen mode. |
110-
| _WD_GetDevicePixelRatio | Returns an integer indicating the DevicePixelRatio. |
111-
| _WD_CheckContext | Check if browser context is still valid. |
112-
| _WD_JsonActionKey | Formats keyboard "action" strings for use in _WD_Action |
113-
| _WD_JsonActionPointer | Formats pointer "action" strings for use in _WD_Action |
114-
| _WD_JsonActionPause | Formats pause "action" strings for use in _WD_Action |
115-
| _WD_JsonCookie | Formats "cookie" JSON strings for use in _WD_Cookies. |
71+
| Name | Description |
72+
|-------------------------|---------------------------------------------------------------------------------|
73+
| _WD_Attach | Attach to existing browser tab. |
74+
| _WD_CheckContext | Check if browser context is still valid. |
75+
| _WD_ConsoleVisible | Control visibility of the webdriver console app. |
76+
| _WD_DownloadFile | Download file and save to disk. |
77+
| _WD_ElementActionEx | Perform advanced action on designated element. |
78+
| _WD_ElementOptionSelect | Find and click on an option from a Select element. |
79+
| _WD_ElementSelectAction | Perform action on designated Select element. |
80+
| _WD_ElementStyle | Set/Get element style property. |
81+
| _WD_FrameEnter | Enter the specified frame. |
82+
| _WD_FrameLeave | Leave the current frame, to its parent. |
83+
| _WD_GetBrowserPath | Retrieve path to browser executable from registry. |
84+
| _WD_GetBrowserVersion | Get version number of specified browser. |
85+
| _WD_GetDevicePixelRatio | Returns an integer indicating the DevicePixelRatio. |
86+
| _WD_GetElementById | Locate element by id. |
87+
| _WD_GetElementByName | Locate element by name. |
88+
| _WD_GetElementByRegEx | Find element by matching attributes values using Javascript regular expression. |
89+
| _WD_GetElementFromPoint | Retrieves reference to element at specified point. |
90+
| _WD_GetFrameCount | Returns the number of frames/iframes in the current document context. |
91+
| _WD_GetMouseElement | Retrieves reference to element below mouse pointer. |
92+
| _WD_GetShadowRoot | Retrieves the shadow root of an element. |
93+
| _WD_GetTable | Return all elements of a table. |
94+
| _WD_GetWebDriverVersion | Get version number of specifed webdriver. |
95+
| _WD_HighlightElements | Highlights the specified elements. |
96+
| _WD_IsFullScreen | Return a boolean indicating if the session is in full screen mode. |
97+
| _WD_IsLatestRelease | Compares local UDF version to latest release on Github. |
98+
| _WD_IsWindowTop | Returns a boolean of the session being at the top level, or in a frame(s). |
99+
| _WD_JsonActionKey | Formats keyboard "action" strings for use in _WD_Action |
100+
| _WD_JsonActionPause | Formats pause "action" strings for use in _WD_Action |
101+
| _WD_JsonActionPointer | Formats pointer "action" strings for use in _WD_Action |
102+
| _WD_JsonCookie | Formats "cookie" JSON strings for use in _WD_Cookies. |
103+
| _WD_LastHTTPResponse | Return the response of the last WinHTTP request. |
104+
| _WD_LastHTTPResult | Return the result of the last WinHTTP request. |
105+
| _WD_LinkClickByText | Simulate a mouse click on a link with text matching the provided string. |
106+
| _WD_LoadWait | Wait for a browser page load to complete before returning. |
107+
| _WD_NewTab | Create new tab in current browser session. |
108+
| _WD_PrintToPDF | Print the current tab in paginated PDF format. |
109+
| _WD_Screenshot | Takes a screenshot of the Window or Element. |
110+
| _WD_SelectFiles | Select files for uploading to a website. |
111+
| _WD_SetElementValue | Set value of designated element. |
112+
| _WD_SetTimeouts | User friendly function to set webdriver session timeouts. |
113+
| _WD_Storage | Provide access to the broswer's localStorage and sessionStorage objects. |
114+
| _WD_UpdateDriver | Replace web driver with newer version, if available. |
115+
| _WD_WaitElement | Wait for an element in the current tab before returning. |
116+
| _WD_jQuerify | Inject jQuery library into current session. |
116117

117118
<p>
118119
</details>

Webdriver.chm

22 KB
Binary file not shown.

wd_core.au3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
#EndRegion Many thanks to:
7070

7171
#Region Global Constants
72-
Global Const $__WDVERSION = "0.9.0"
72+
Global Const $__WDVERSION = "0.10.0"
7373

7474
Global Const $_WD_ELEMENT_ID = "element-6066-11e4-a52e-4f735466cecf"
7575
Global Const $_WD_SHADOW_ID = "shadow-6066-11e4-a52e-4f735466cecf"
@@ -197,7 +197,7 @@ Global $_WD_SupportedBrowsers[][$_WD_BROWSER__COUNTER] = _
197197
[ _
198198
["chrome", "chrome.exe", "chromedriver.exe", False, "goog:chromeOptions", "'https://chromedriver.storage.googleapis.com/LATEST_RELEASE_' & StringLeft($sBrowserVersion, StringInStr($sBrowserVersion, '.') - 1)", "", '"https://chromedriver.storage.googleapis.com/" & $sDriverLatest & "/chromedriver_win32.zip"'], _
199199
["firefox", "firefox.exe", "geckodriver.exe", True, "moz:firefoxOptions", "https://github.com/mozilla/geckodriver/releases/latest", '<a.*href="\/mozilla\/geckodriver\/releases\/tag\/(?:v)(.*?)"', '"https://github.com/mozilla/geckodriver/releases/download/v" & $sDriverLatest & "/geckodriver-v" & $sDriverLatest & (($bFlag64) ? "-win64.zip" : "-win32.zip")'], _
200-
["msedge", "msedge.exe", "msedgedriver.exe", True, "ms:edgeOptions", "'https://msedgedriver.azureedge.net/LATEST_RELEASE_' & StringLeft($sBrowserVersion, StringInStr($sBrowserVersion, '.') - 1)", "", '"https://msedgedriver.azureedge.net/" & $sDriverLatest & "/edgedriver_" & (($bFlag64) ? "win64.zip" : "win32.zip")'], _
200+
["msedge", "msedge.exe", "msedgedriver.exe", True, "ms:edgeOptions", "'https://msedgedriver.azureedge.net/LATEST_RELEASE_' & StringLeft($sBrowserVersion, StringInStr($sBrowserVersion, '.') - 1) & '_WINDOWS'", "", '"https://msedgedriver.azureedge.net/" & $sDriverLatest & "/edgedriver_" & (($bFlag64) ? "win64.zip" : "win32.zip")'], _
201201
["opera", "opera.exe", "operadriver.exe", True, "goog:chromeOptions", "https://github.com/operasoftware/operachromiumdriver/releases/latest", '<a.*href="\/operasoftware\/operachromiumdriver\/releases\/tag\/(?:v\.)(.*?)"', '"https://github.com/operasoftware/operachromiumdriver/releases/download/v." & $sDriverLatest & "/operadriver_" & (($bFlag64) ? "win64.zip" : "win32.zip")'] _
202202
]
203203
#EndRegion Global Variables

wd_helper.au3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2384,7 +2384,7 @@ EndFunc ;==>_WD_GetElementByRegEx
23842384

23852385
; #FUNCTION# ====================================================================================================================
23862386
; Name ..........: _WD_Storage
2387-
; Description ...:
2387+
; Description ...: Provide access to the broswer's localStorage and sessionStorage objects
23882388
; Syntax ........: _WD_Storage($sSession, $sKey[, $vValue = Default[, $nType = Default]])
23892389
; Parameters ....: $sSession - Session ID from _WD_CreateSession
23902390
; $vKey - Key to manipulate.

0 commit comments

Comments
 (0)