Skip to content

Commit 820a83e

Browse files
authored
Follow up to #469 (#471)
* Escaping backslash no longer needed * _WD_Storage: Add remark
1 parent 49aecd5 commit 820a83e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

wd_helper.au3

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3071,7 +3071,6 @@ Func _WD_GetElementByRegEx($sSession, $sMode, $sRegExPattern, $sRegExFlags = "",
30713071
"}" & _
30723072
""
30733073

3074-
$sRegExPattern = StringReplace($sRegExPattern, '\', '\\')
30753074
Local $sJavaScript = StringFormat($sJS_Static, $sMode, $sRegExPattern, $sRegExFlags, StringLower($bAll))
30763075
Local $oValues = _WD_ExecuteScript($sSession, $sJavaScript, Default, False, $_WD_JSON_Value)
30773076
$iErr = @error
@@ -3105,7 +3104,7 @@ EndFunc ;==>_WD_GetElementByRegEx
31053104

31063105
; #FUNCTION# ====================================================================================================================
31073106
; Name ..........: _WD_Storage
3108-
; Description ...: Provide access to the broswer's localStorage and sessionStorage objects
3107+
; Description ...: Provide access to the browser's localStorage and sessionStorage objects
31093108
; Syntax ........: _WD_Storage($sSession, $sKey[, $vValue = Default[, $nType = Default]])
31103109
; Parameters ....: $sSession - Session ID from _WD_CreateSession
31113110
; $vKey - Key to manipulate.
@@ -3116,7 +3115,10 @@ EndFunc ;==>_WD_GetElementByRegEx
31163115
; Response from _WD_ExecuteScript() and sets @error to value returned from _WD_ExecuteScript()
31173116
; Author ........: Danp2
31183117
; Modified ......:
3119-
; Remarks .......: See below for special conditions --
3118+
; Remarks .......: Data is stored and retrieved without modification. Translations or string
3119+
; encoding / decoding should occur outside of this function.
3120+
;
3121+
; See below for special conditions --
31203122
;
31213123
; | Parameter | Condition | Action |
31223124
; |-----------|-----------|----------------------------|

0 commit comments

Comments
 (0)