Skip to content

Commit

Permalink
Prep release (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
Danp2 authored Aug 17, 2023
1 parent 1efcbae commit 0ade2bb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

## [Unreleased]
## [1.2.0] 2023-08-17

### Changed

Expand Down Expand Up @@ -1149,7 +1149,8 @@ _WD_CapabilitiesDisplay
- Initial release


[Unreleased]: https://github.com/Danp2/au3WebDriver/compare/1.1.1...HEAD
[Unreleased]: https://github.com/Danp2/au3WebDriver/compare/1.2.0...HEAD
[1.2.0]: https://github.com/Danp2/au3WebDriver/compare/1.1.1...1.2.0
[1.1.1]: https://github.com/Danp2/au3WebDriver/compare/1.1.0...1.1.1
[1.1.0]: https://github.com/Danp2/au3WebDriver/compare/1.0.3...1.1.0
[1.0.3]: https://github.com/Danp2/au3WebDriver/compare/1.0.2...1.0.3
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ Distributed under the MIT License. See [LICENSE] for more information.
- Thanks to the authors of the Third-Party UDFs
- *Json UDF* by @Ward and @Jos
- *WinHTTP UDF* by @trancexx/[@dragana-r](https://github.com/dragana-r)
- *HtmlTable2Array UDF* by @Chimp
- *WinHttp_WebSocket UDF* by @Danp2
- Thanks to the maintainers
- Thanks to [@Danp2](https://github.com/Danp2) for the project idea, creation and maintenance
Expand Down Expand Up @@ -256,7 +255,6 @@ Distributed under the MIT License. See [LICENSE] for more information.
[Opera ReadMe]: https://github.com/operasoftware/operachromiumdriver/blob/master/README.md
[Json UDF]: https://www.autoitscript.com/forum/topic/148114-a-non-strict-json-udf-jsmn
[WinHTTP UDF]: https://github.com/dragana-r/autoit-winhttp/releases/latest
[HtmlTable2Array UDF]: https://www.autoitscript.com/forum/topic/167679-read-data-from-html-tables-from-raw-html-source/
[WinHttp_WebSocket UDF]: https://github.com/Danp2/autoit-websocket
[CONTRIBUTING]: https://github.com/Danp2/au3WebDriver/blob/master/docs/CONTRIBUTING.md
[Change Log]: https://github.com/Danp2/au3WebDriver/blob/master/CHANGELOG.md
Binary file modified au3WebDriver.chm
Binary file not shown.
3 changes: 1 addition & 2 deletions wd_core.au3
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
#EndRegion Many thanks to:

#Region Global Constants
Global Const $__WDVERSION = "1.1.1"
Global Const $__WDVERSION = "1.2.0"

Global Const $_WD_ELEMENT_ID = "element-6066-11e4-a52e-4f735466cecf"
Global Const $_WD_SHADOW_ID = "shadow-6066-11e4-a52e-4f735466cecf"
Expand Down Expand Up @@ -262,7 +262,6 @@ Global $_WD_ERROR_OUTPUTDEBUG = False ; Log errors to "OutputDebugString"
Global $_WD_DEBUG = $_WD_DEBUG_Info ; Trace to console and show web driver app
Global $_WD_CONSOLE = ConsoleWrite ; Destination for console output
Global $_WD_CONSOLE_Suffix = @CRLF ; Suffix added to the end of Message in $_WD_CONSOLE function
Global $_WD_IFILTER = 16 ; Passed to _HtmlTableGetWriteToArray to control filtering
Global $_WD_Sleep = Sleep ; Default to calling standard Sleep function
Global $_WD_DefaultTimeout = 10000 ; 10 seconds
Global $_WD_WINHTTP_TIMEOUTS = True
Expand Down
7 changes: 3 additions & 4 deletions wd_helper.au3
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@
#ce
#EndRegion Many thanks to:

#ignorefunc _HtmlTableGetWriteToArray

#Region Global Constants
Global Enum _
$_WD_OPTION_None = 0, _
Expand Down Expand Up @@ -620,7 +618,7 @@ Func _WD_GetElementFromPoint($sSession, $iX, $iY)
Local $iErr = $_WD_ERROR_Success, $sResult, $bIsNull

; https://developer.mozilla.org/en-US/docs/Web/API/Document/elementFromPoint
; If the specified point is outside the visible bounds of the document or either
; If the specified point is outside the visible bounds of the document or either
; coordinate is negative, the result is null
If $iX < 0 Or $iY < 0 Then
$iErr = $_WD_ERROR_InvalidArgue
Expand Down Expand Up @@ -2877,7 +2875,7 @@ EndFunc ;==>_WD_DispatchEvent
; #FUNCTION# ====================================================================================================================
; Name ..........: _WD_GetTable
; Description ...: Return all elements of a table.
; Syntax ........: _WD_GetTable($sSession, $sBaseElement[, $sRowsXpath = Default[, $sColsXpath = Default[, $sCellsXpath = Default]]])
; Syntax ........: _WD_GetTable($sSession, $sBaseElement[, $sRowsSelector = Default[, $sColsSelector = Default]])
; Parameters ....: $sSession - Session ID from _WD_CreateSession
; $sBaseElement - XPath of the table to return
; $sRowsSelector - [optional] Rows CSS selector. Default is "tr".
Expand All @@ -2892,6 +2890,7 @@ EndFunc ;==>_WD_DispatchEvent
; Related .......: _WD_FindElement, _WD_ElementAction, _WD_LastHTTPResult
; Link ..........: https://www.autoitscript.com/forum/topic/191990-webdriver-udf-w3c-compliant-version-01182020/page/18/?tab=comments#comment-1415164
; Example .......: No
; ===============================================================================================================================
Func _WD_GetTable($sSession, $sBaseElement, $sRowsSelector = Default, $sColsSelector = Default)
Local Const $sFuncName = "_WD_GetTable"
Local $aElements, $sElement, $iLines, $iRow, $iColumns, $iColumn, $sHTML, $aTable = ''
Expand Down

0 comments on commit 0ade2bb

Please sign in to comment.