File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,7 @@ Global Const $_WD_ErrorJavascript = "javascript error"
155
155
Global Const $_WD_ErrorNoSuchAlert = " no such alert"
156
156
Global Const $_WD_ErrorInvalidSelector = " invalid selector"
157
157
Global Const $_WD_ErrorElementNotFound = " no such element"
158
+ Global Const $_WD_ErrorShadowRootNotFound = " no such shadow root"
158
159
Global Const $_WD_ErrorElementStale = " stale element reference"
159
160
Global Const $_WD_ErrorElementInvalid = " invalid argument"
160
161
Global Const $_WD_ErrorElementIntercept = " element click intercepted"
@@ -1749,7 +1750,7 @@ Func __WD_DetectError(ByRef $iErr, $vResult)
1749
1750
Case $_WD_ErrorTimeout
1750
1751
$iErr = $_WD_ERROR_Timeout
1751
1752
1752
- Case $_WD_ErrorElementNotFound , $_WD_ErrorElementStale
1753
+ Case $_WD_ErrorElementNotFound , $_WD_ErrorElementStale , $_WD_ErrorShadowRootNotFound
1753
1754
$iErr = $_WD_ERROR_NoMatch
1754
1755
1755
1756
Case $_WD_ErrorElementInvalid
You can’t perform that action at this time.
0 commit comments