@wdio/protocols 9.26.1 → 9.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/commands/appium.d.ts +2 -3
- package/build/commands/appium.d.ts.map +1 -1
- package/build/index.js +505 -36
- package/build/protocols/appium.d.ts +0 -1
- package/build/protocols/appium.d.ts.map +1 -1
- package/build/protocols/webdriverBidi.d.ts +443 -7
- package/build/protocols/webdriverBidi.d.ts.map +1 -1
- package/build/types.d.ts +4 -1
- package/build/types.d.ts.map +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -1642,7 +1642,12 @@ var protocol = {
|
|
|
1642
1642
|
"description": "<pre>\\{\\}</pre>",
|
|
1643
1643
|
"required": true
|
|
1644
1644
|
}
|
|
1645
|
-
]
|
|
1645
|
+
],
|
|
1646
|
+
"returns": {
|
|
1647
|
+
"type": "Object",
|
|
1648
|
+
"name": "local.SessionEndResult",
|
|
1649
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
1650
|
+
}
|
|
1646
1651
|
}
|
|
1647
1652
|
},
|
|
1648
1653
|
"session.subscribe": {
|
|
@@ -1653,7 +1658,7 @@ var protocol = {
|
|
|
1653
1658
|
"parameters": [
|
|
1654
1659
|
{
|
|
1655
1660
|
"name": "params",
|
|
1656
|
-
"type": "`remote.
|
|
1661
|
+
"type": "`remote.SessionSubscribeParameters`",
|
|
1657
1662
|
"description": "<pre>\\{<br /> events: string[];<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
1658
1663
|
"required": true
|
|
1659
1664
|
}
|
|
@@ -1674,10 +1679,15 @@ var protocol = {
|
|
|
1674
1679
|
{
|
|
1675
1680
|
"name": "params",
|
|
1676
1681
|
"type": "`remote.SessionUnsubscribeParameters`",
|
|
1677
|
-
"description": "<pre
|
|
1682
|
+
"description": "<pre>\\{\\}</pre>",
|
|
1678
1683
|
"required": true
|
|
1679
1684
|
}
|
|
1680
|
-
]
|
|
1685
|
+
],
|
|
1686
|
+
"returns": {
|
|
1687
|
+
"type": "Object",
|
|
1688
|
+
"name": "local.SessionUnsubscribeResult",
|
|
1689
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
1690
|
+
}
|
|
1681
1691
|
}
|
|
1682
1692
|
},
|
|
1683
1693
|
"browser.close": {
|
|
@@ -1692,7 +1702,12 @@ var protocol = {
|
|
|
1692
1702
|
"description": "<pre>\\{\\}</pre>",
|
|
1693
1703
|
"required": true
|
|
1694
1704
|
}
|
|
1695
|
-
]
|
|
1705
|
+
],
|
|
1706
|
+
"returns": {
|
|
1707
|
+
"type": "Object",
|
|
1708
|
+
"name": "local.BrowserCloseResult",
|
|
1709
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
1710
|
+
}
|
|
1696
1711
|
}
|
|
1697
1712
|
},
|
|
1698
1713
|
"browser.createUserContext": {
|
|
@@ -1704,7 +1719,7 @@ var protocol = {
|
|
|
1704
1719
|
{
|
|
1705
1720
|
"name": "params",
|
|
1706
1721
|
"type": "`remote.BrowserCreateUserContextParameters`",
|
|
1707
|
-
"description": "<pre>\\{<br /> acceptInsecureCerts?: boolean;<br />\\}</pre>",
|
|
1722
|
+
"description": "<pre>\\{<br /> acceptInsecureCerts?: boolean;<br /> proxy?: SessionProxyConfiguration;<br /> unhandledPromptBehavior?: SessionUserPromptHandler;<br />\\}</pre>",
|
|
1708
1723
|
"required": true
|
|
1709
1724
|
}
|
|
1710
1725
|
],
|
|
@@ -1767,7 +1782,12 @@ var protocol = {
|
|
|
1767
1782
|
"description": "<pre>\\{<br /> userContext: BrowserUserContext;<br />\\}</pre>",
|
|
1768
1783
|
"required": true
|
|
1769
1784
|
}
|
|
1770
|
-
]
|
|
1785
|
+
],
|
|
1786
|
+
"returns": {
|
|
1787
|
+
"type": "Object",
|
|
1788
|
+
"name": "local.BrowserRemoveUserContextResult",
|
|
1789
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
1790
|
+
}
|
|
1771
1791
|
}
|
|
1772
1792
|
},
|
|
1773
1793
|
"browser.setClientWindowState": {
|
|
@@ -1779,10 +1799,35 @@ var protocol = {
|
|
|
1779
1799
|
{
|
|
1780
1800
|
"name": "params",
|
|
1781
1801
|
"type": "`remote.BrowserSetClientWindowStateParameters`",
|
|
1782
|
-
"description": "<pre>\\{<br /> clientWindow: BrowserClientWindow;<br
|
|
1802
|
+
"description": "<pre>\\{<br /> clientWindow: BrowserClientWindow;<br />}\\}</pre>",
|
|
1783
1803
|
"required": true
|
|
1784
1804
|
}
|
|
1785
|
-
]
|
|
1805
|
+
],
|
|
1806
|
+
"returns": {
|
|
1807
|
+
"type": "Object",
|
|
1808
|
+
"name": "local.BrowserSetClientWindowStateResult",
|
|
1809
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
},
|
|
1813
|
+
"browser.setDownloadBehavior": {
|
|
1814
|
+
"socket": {
|
|
1815
|
+
"command": "browserSetDownloadBehavior",
|
|
1816
|
+
"description": 'WebDriver Bidi command to send command method "browser.setDownloadBehavior" with parameters.',
|
|
1817
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-browser-setDownloadBehavior",
|
|
1818
|
+
"parameters": [
|
|
1819
|
+
{
|
|
1820
|
+
"name": "params",
|
|
1821
|
+
"type": "`remote.BrowserSetDownloadBehaviorParameters`",
|
|
1822
|
+
"description": "<pre>\\{<br /> downloadBehavior: BrowserDownloadBehavior | null;<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
1823
|
+
"required": true
|
|
1824
|
+
}
|
|
1825
|
+
],
|
|
1826
|
+
"returns": {
|
|
1827
|
+
"type": "Object",
|
|
1828
|
+
"name": "local.BrowserSetDownloadBehaviorResult",
|
|
1829
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
1830
|
+
}
|
|
1786
1831
|
}
|
|
1787
1832
|
},
|
|
1788
1833
|
"browsingContext.activate": {
|
|
@@ -1797,7 +1842,12 @@ var protocol = {
|
|
|
1797
1842
|
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br />\\}</pre>",
|
|
1798
1843
|
"required": true
|
|
1799
1844
|
}
|
|
1800
|
-
]
|
|
1845
|
+
],
|
|
1846
|
+
"returns": {
|
|
1847
|
+
"type": "Object",
|
|
1848
|
+
"name": "local.BrowsingContextActivateResult",
|
|
1849
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
1850
|
+
}
|
|
1801
1851
|
}
|
|
1802
1852
|
},
|
|
1803
1853
|
"browsingContext.captureScreenshot": {
|
|
@@ -1832,7 +1882,12 @@ var protocol = {
|
|
|
1832
1882
|
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> promptUnload?: boolean;<br />\\}</pre>",
|
|
1833
1883
|
"required": true
|
|
1834
1884
|
}
|
|
1835
|
-
]
|
|
1885
|
+
],
|
|
1886
|
+
"returns": {
|
|
1887
|
+
"type": "Object",
|
|
1888
|
+
"name": "local.BrowsingContextCloseResult",
|
|
1889
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
1890
|
+
}
|
|
1836
1891
|
}
|
|
1837
1892
|
},
|
|
1838
1893
|
"browsingContext.create": {
|
|
@@ -1851,7 +1906,7 @@ var protocol = {
|
|
|
1851
1906
|
"returns": {
|
|
1852
1907
|
"type": "Object",
|
|
1853
1908
|
"name": "local.BrowsingContextCreateResult",
|
|
1854
|
-
"description": "Command return value with the following interface:\n ```ts\n {\n context: BrowsingContextBrowsingContext;\n }\n ```"
|
|
1909
|
+
"description": "Command return value with the following interface:\n ```ts\n {\n context: BrowsingContextBrowsingContext;\n userContext?: BrowserUserContext;\n }\n ```"
|
|
1855
1910
|
}
|
|
1856
1911
|
}
|
|
1857
1912
|
},
|
|
@@ -1887,7 +1942,12 @@ var protocol = {
|
|
|
1887
1942
|
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> accept?: boolean;<br /> userText?: string;<br />\\}</pre>",
|
|
1888
1943
|
"required": true
|
|
1889
1944
|
}
|
|
1890
|
-
]
|
|
1945
|
+
],
|
|
1946
|
+
"returns": {
|
|
1947
|
+
"type": "Object",
|
|
1948
|
+
"name": "local.BrowsingContextHandleUserPromptResult",
|
|
1949
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
1950
|
+
}
|
|
1891
1951
|
}
|
|
1892
1952
|
},
|
|
1893
1953
|
"browsingContext.locateNodes": {
|
|
@@ -1962,7 +2022,32 @@ var protocol = {
|
|
|
1962
2022
|
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> ignoreCache?: boolean;<br /> wait?: BrowsingContextReadinessState;<br />\\}</pre>",
|
|
1963
2023
|
"required": true
|
|
1964
2024
|
}
|
|
1965
|
-
]
|
|
2025
|
+
],
|
|
2026
|
+
"returns": {
|
|
2027
|
+
"type": "Object",
|
|
2028
|
+
"name": "local.BrowsingContextReloadResult",
|
|
2029
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
},
|
|
2033
|
+
"browsingContext.setBypassCSP": {
|
|
2034
|
+
"socket": {
|
|
2035
|
+
"command": "browsingContextSetBypassCsp",
|
|
2036
|
+
"description": 'WebDriver Bidi command to send command method "browsingContext.setBypassCSP" with parameters.',
|
|
2037
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-setBypassCSP",
|
|
2038
|
+
"parameters": [
|
|
2039
|
+
{
|
|
2040
|
+
"name": "params",
|
|
2041
|
+
"type": "`remote.BrowsingContextSetBypassCspParameters`",
|
|
2042
|
+
"description": "<pre>\\{<br /> bypass: true | null;<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
2043
|
+
"required": true
|
|
2044
|
+
}
|
|
2045
|
+
],
|
|
2046
|
+
"returns": {
|
|
2047
|
+
"type": "Object",
|
|
2048
|
+
"name": "local.BrowsingContextSetBypassCspResult",
|
|
2049
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2050
|
+
}
|
|
1966
2051
|
}
|
|
1967
2052
|
},
|
|
1968
2053
|
"browsingContext.setViewport": {
|
|
@@ -1977,7 +2062,12 @@ var protocol = {
|
|
|
1977
2062
|
"description": "<pre>\\{<br /> context?: BrowsingContextBrowsingContext;<br /> viewport?: BrowsingContextViewport | null;<br /> devicePixelRatio?: number | null;<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
1978
2063
|
"required": true
|
|
1979
2064
|
}
|
|
1980
|
-
]
|
|
2065
|
+
],
|
|
2066
|
+
"returns": {
|
|
2067
|
+
"type": "Object",
|
|
2068
|
+
"name": "local.BrowsingContextSetViewportResult",
|
|
2069
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2070
|
+
}
|
|
1981
2071
|
}
|
|
1982
2072
|
},
|
|
1983
2073
|
"browsingContext.traverseHistory": {
|
|
@@ -1992,7 +2082,32 @@ var protocol = {
|
|
|
1992
2082
|
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> delta: JsInt;<br />\\}</pre>",
|
|
1993
2083
|
"required": true
|
|
1994
2084
|
}
|
|
1995
|
-
]
|
|
2085
|
+
],
|
|
2086
|
+
"returns": {
|
|
2087
|
+
"type": "Object",
|
|
2088
|
+
"name": "local.BrowsingContextTraverseHistoryResult",
|
|
2089
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2090
|
+
}
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
2093
|
+
"emulation.setForcedColorsModeThemeOverride": {
|
|
2094
|
+
"socket": {
|
|
2095
|
+
"command": "emulationSetForcedColorsModeThemeOverride",
|
|
2096
|
+
"description": 'WebDriver Bidi command to send command method "emulation.setForcedColorsModeThemeOverride" with parameters.',
|
|
2097
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setForcedColorsModeThemeOverride",
|
|
2098
|
+
"parameters": [
|
|
2099
|
+
{
|
|
2100
|
+
"name": "params",
|
|
2101
|
+
"type": "`remote.EmulationSetForcedColorsModeThemeOverrideParameters`",
|
|
2102
|
+
"description": "<pre>\\{<br /> theme: EmulationForcedColorsModeTheme | null;<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
2103
|
+
"required": true
|
|
2104
|
+
}
|
|
2105
|
+
],
|
|
2106
|
+
"returns": {
|
|
2107
|
+
"type": "Object",
|
|
2108
|
+
"name": "local.EmulationSetForcedColorsModeThemeOverrideResult",
|
|
2109
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2110
|
+
}
|
|
1996
2111
|
}
|
|
1997
2112
|
},
|
|
1998
2113
|
"emulation.setGeolocationOverride": {
|
|
@@ -2004,10 +2119,215 @@ var protocol = {
|
|
|
2004
2119
|
{
|
|
2005
2120
|
"name": "params",
|
|
2006
2121
|
"type": "`remote.EmulationSetGeolocationOverrideParameters`",
|
|
2007
|
-
"description": "<pre
|
|
2122
|
+
"description": "<pre>\\{<br /> coordinates: EmulationGeolocationCoordinates | null;<br />} | {<br /> error: EmulationGeolocationPositionError;<br />}) & {<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />}\\}</pre>",
|
|
2008
2123
|
"required": true
|
|
2009
2124
|
}
|
|
2010
|
-
]
|
|
2125
|
+
],
|
|
2126
|
+
"returns": {
|
|
2127
|
+
"type": "Object",
|
|
2128
|
+
"name": "local.EmulationSetGeolocationOverrideResult",
|
|
2129
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2130
|
+
}
|
|
2131
|
+
}
|
|
2132
|
+
},
|
|
2133
|
+
"emulation.setLocaleOverride": {
|
|
2134
|
+
"socket": {
|
|
2135
|
+
"command": "emulationSetLocaleOverride",
|
|
2136
|
+
"description": 'WebDriver Bidi command to send command method "emulation.setLocaleOverride" with parameters.',
|
|
2137
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setLocaleOverride",
|
|
2138
|
+
"parameters": [
|
|
2139
|
+
{
|
|
2140
|
+
"name": "params",
|
|
2141
|
+
"type": "`remote.EmulationSetLocaleOverrideParameters`",
|
|
2142
|
+
"description": "<pre>\\{<br /> locale: string | null;<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
2143
|
+
"required": true
|
|
2144
|
+
}
|
|
2145
|
+
],
|
|
2146
|
+
"returns": {
|
|
2147
|
+
"type": "Object",
|
|
2148
|
+
"name": "local.EmulationSetLocaleOverrideResult",
|
|
2149
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
},
|
|
2153
|
+
"emulation.setNetworkConditions": {
|
|
2154
|
+
"socket": {
|
|
2155
|
+
"command": "emulationSetNetworkConditions",
|
|
2156
|
+
"description": 'WebDriver Bidi command to send command method "emulation.setNetworkConditions" with parameters.',
|
|
2157
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setNetworkConditions",
|
|
2158
|
+
"parameters": [
|
|
2159
|
+
{
|
|
2160
|
+
"name": "params",
|
|
2161
|
+
"type": "`remote.EmulationSetNetworkConditionsParameters`",
|
|
2162
|
+
"description": "<pre>\\{<br /> networkConditions: EmulationNetworkConditions | null;<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
2163
|
+
"required": true
|
|
2164
|
+
}
|
|
2165
|
+
],
|
|
2166
|
+
"returns": {
|
|
2167
|
+
"type": "Object",
|
|
2168
|
+
"name": "local.EmulationSetNetworkConditionsResult",
|
|
2169
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
},
|
|
2173
|
+
"emulation.setScreenSettingsOverride": {
|
|
2174
|
+
"socket": {
|
|
2175
|
+
"command": "emulationSetScreenSettingsOverride",
|
|
2176
|
+
"description": 'WebDriver Bidi command to send command method "emulation.setScreenSettingsOverride" with parameters.',
|
|
2177
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setScreenSettingsOverride",
|
|
2178
|
+
"parameters": [
|
|
2179
|
+
{
|
|
2180
|
+
"name": "params",
|
|
2181
|
+
"type": "`remote.EmulationSetScreenSettingsOverrideParameters`",
|
|
2182
|
+
"description": "<pre>\\{<br /> screenArea: EmulationScreenArea | null;<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
2183
|
+
"required": true
|
|
2184
|
+
}
|
|
2185
|
+
],
|
|
2186
|
+
"returns": {
|
|
2187
|
+
"type": "Object",
|
|
2188
|
+
"name": "local.EmulationSetScreenSettingsOverrideResult",
|
|
2189
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2190
|
+
}
|
|
2191
|
+
}
|
|
2192
|
+
},
|
|
2193
|
+
"emulation.setScreenOrientationOverride": {
|
|
2194
|
+
"socket": {
|
|
2195
|
+
"command": "emulationSetScreenOrientationOverride",
|
|
2196
|
+
"description": 'WebDriver Bidi command to send command method "emulation.setScreenOrientationOverride" with parameters.',
|
|
2197
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setScreenOrientationOverride",
|
|
2198
|
+
"parameters": [
|
|
2199
|
+
{
|
|
2200
|
+
"name": "params",
|
|
2201
|
+
"type": "`remote.EmulationSetScreenOrientationOverrideParameters`",
|
|
2202
|
+
"description": "<pre>\\{<br /> screenOrientation: EmulationScreenOrientation | null;<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
2203
|
+
"required": true
|
|
2204
|
+
}
|
|
2205
|
+
],
|
|
2206
|
+
"returns": {
|
|
2207
|
+
"type": "Object",
|
|
2208
|
+
"name": "local.EmulationSetScreenOrientationOverrideResult",
|
|
2209
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
},
|
|
2213
|
+
"emulation.setUserAgentOverride": {
|
|
2214
|
+
"socket": {
|
|
2215
|
+
"command": "emulationSetUserAgentOverride",
|
|
2216
|
+
"description": 'WebDriver Bidi command to send command method "emulation.setUserAgentOverride" with parameters.',
|
|
2217
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setUserAgentOverride",
|
|
2218
|
+
"parameters": [
|
|
2219
|
+
{
|
|
2220
|
+
"name": "params",
|
|
2221
|
+
"type": "`remote.EmulationSetUserAgentOverrideParameters`",
|
|
2222
|
+
"description": "<pre>\\{<br /> userAgent: string | null;<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
2223
|
+
"required": true
|
|
2224
|
+
}
|
|
2225
|
+
],
|
|
2226
|
+
"returns": {
|
|
2227
|
+
"type": "Object",
|
|
2228
|
+
"name": "local.EmulationSetUserAgentOverrideResult",
|
|
2229
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2230
|
+
}
|
|
2231
|
+
}
|
|
2232
|
+
},
|
|
2233
|
+
"emulation.setScriptingEnabled": {
|
|
2234
|
+
"socket": {
|
|
2235
|
+
"command": "emulationSetScriptingEnabled",
|
|
2236
|
+
"description": 'WebDriver Bidi command to send command method "emulation.setScriptingEnabled" with parameters.',
|
|
2237
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setScriptingEnabled",
|
|
2238
|
+
"parameters": [
|
|
2239
|
+
{
|
|
2240
|
+
"name": "params",
|
|
2241
|
+
"type": "`remote.EmulationSetScriptingEnabledParameters`",
|
|
2242
|
+
"description": "<pre>\\{<br /> enabled: false | null;<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
2243
|
+
"required": true
|
|
2244
|
+
}
|
|
2245
|
+
],
|
|
2246
|
+
"returns": {
|
|
2247
|
+
"type": "Object",
|
|
2248
|
+
"name": "local.EmulationSetScriptingEnabledResult",
|
|
2249
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2250
|
+
}
|
|
2251
|
+
}
|
|
2252
|
+
},
|
|
2253
|
+
"emulation.setScrollbarTypeOverride": {
|
|
2254
|
+
"socket": {
|
|
2255
|
+
"command": "emulationSetScrollbarTypeOverride",
|
|
2256
|
+
"description": 'WebDriver Bidi command to send command method "emulation.setScrollbarTypeOverride" with parameters.',
|
|
2257
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setScrollbarTypeOverride",
|
|
2258
|
+
"parameters": [
|
|
2259
|
+
{
|
|
2260
|
+
"name": "params",
|
|
2261
|
+
"type": "`remote.EmulationSetScrollbarTypeOverrideParameters`",
|
|
2262
|
+
"description": '<pre>\\{<br /> scrollbarType: "classic" | "overlay" | null;<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>',
|
|
2263
|
+
"required": true
|
|
2264
|
+
}
|
|
2265
|
+
],
|
|
2266
|
+
"returns": {
|
|
2267
|
+
"type": "Object",
|
|
2268
|
+
"name": "local.EmulationSetScrollbarTypeOverrideResult",
|
|
2269
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2272
|
+
},
|
|
2273
|
+
"emulation.setTimezoneOverride": {
|
|
2274
|
+
"socket": {
|
|
2275
|
+
"command": "emulationSetTimezoneOverride",
|
|
2276
|
+
"description": 'WebDriver Bidi command to send command method "emulation.setTimezoneOverride" with parameters.',
|
|
2277
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setTimezoneOverride",
|
|
2278
|
+
"parameters": [
|
|
2279
|
+
{
|
|
2280
|
+
"name": "params",
|
|
2281
|
+
"type": "`remote.EmulationSetTimezoneOverrideParameters`",
|
|
2282
|
+
"description": "<pre>\\{<br /> timezone: string | null;<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
2283
|
+
"required": true
|
|
2284
|
+
}
|
|
2285
|
+
],
|
|
2286
|
+
"returns": {
|
|
2287
|
+
"type": "Object",
|
|
2288
|
+
"name": "local.EmulationSetTimezoneOverrideResult",
|
|
2289
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2292
|
+
},
|
|
2293
|
+
"emulation.setTouchOverride": {
|
|
2294
|
+
"socket": {
|
|
2295
|
+
"command": "emulationSetTouchOverride",
|
|
2296
|
+
"description": 'WebDriver Bidi command to send command method "emulation.setTouchOverride" with parameters.',
|
|
2297
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setTouchOverride",
|
|
2298
|
+
"parameters": [
|
|
2299
|
+
{
|
|
2300
|
+
"name": "params",
|
|
2301
|
+
"type": "`remote.EmulationSetTouchOverrideParameters`",
|
|
2302
|
+
"description": "<pre>\\{<br /> maxTouchPoints: JsUint | null;<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
2303
|
+
"required": true
|
|
2304
|
+
}
|
|
2305
|
+
],
|
|
2306
|
+
"returns": {
|
|
2307
|
+
"type": "Object",
|
|
2308
|
+
"name": "local.EmulationSetTouchOverrideResult",
|
|
2309
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2310
|
+
}
|
|
2311
|
+
}
|
|
2312
|
+
},
|
|
2313
|
+
"network.addDataCollector": {
|
|
2314
|
+
"socket": {
|
|
2315
|
+
"command": "networkAddDataCollector",
|
|
2316
|
+
"description": 'WebDriver Bidi command to send command method "network.addDataCollector" with parameters.',
|
|
2317
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-network-addDataCollector",
|
|
2318
|
+
"parameters": [
|
|
2319
|
+
{
|
|
2320
|
+
"name": "params",
|
|
2321
|
+
"type": "`remote.NetworkAddDataCollectorParameters`",
|
|
2322
|
+
"description": "<pre>\\{<br /> dataTypes: NetworkDataType[];<br /> maxEncodedDataSize: JsUint;<br /> /\\*\\*<br /> \\* @default 'blob'<br /> \\*/<br /> collectorType?: NetworkCollectorType;<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
2323
|
+
"required": true
|
|
2324
|
+
}
|
|
2325
|
+
],
|
|
2326
|
+
"returns": {
|
|
2327
|
+
"type": "Object",
|
|
2328
|
+
"name": "local.NetworkAddDataCollectorResult",
|
|
2329
|
+
"description": "Command return value with the following interface:\n ```ts\n {\n collector: NetworkCollector;\n }\n ```"
|
|
2330
|
+
}
|
|
2011
2331
|
}
|
|
2012
2332
|
},
|
|
2013
2333
|
"network.addIntercept": {
|
|
@@ -2042,7 +2362,12 @@ var protocol = {
|
|
|
2042
2362
|
"description": "<pre>\\{<br /> request: NetworkRequest;<br /> body?: NetworkBytesValue;<br /> cookies?: NetworkCookieHeader[];<br /> headers?: NetworkHeader[];<br /> method?: string;<br /> url?: string;<br />\\}</pre>",
|
|
2043
2363
|
"required": true
|
|
2044
2364
|
}
|
|
2045
|
-
]
|
|
2365
|
+
],
|
|
2366
|
+
"returns": {
|
|
2367
|
+
"type": "Object",
|
|
2368
|
+
"name": "local.NetworkContinueRequestResult",
|
|
2369
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2370
|
+
}
|
|
2046
2371
|
}
|
|
2047
2372
|
},
|
|
2048
2373
|
"network.continueResponse": {
|
|
@@ -2057,7 +2382,12 @@ var protocol = {
|
|
|
2057
2382
|
"description": "<pre>\\{<br /> request: NetworkRequest;<br /> cookies?: NetworkSetCookieHeader[];<br /> credentials?: NetworkAuthCredentials;<br /> headers?: NetworkHeader[];<br /> reasonPhrase?: string;<br /> statusCode?: JsUint;<br />\\}</pre>",
|
|
2058
2383
|
"required": true
|
|
2059
2384
|
}
|
|
2060
|
-
]
|
|
2385
|
+
],
|
|
2386
|
+
"returns": {
|
|
2387
|
+
"type": "Object",
|
|
2388
|
+
"name": "local.NetworkContinueResponseResult",
|
|
2389
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2390
|
+
}
|
|
2061
2391
|
}
|
|
2062
2392
|
},
|
|
2063
2393
|
"network.continueWithAuth": {
|
|
@@ -2069,10 +2399,35 @@ var protocol = {
|
|
|
2069
2399
|
{
|
|
2070
2400
|
"name": "params",
|
|
2071
2401
|
"type": "`remote.NetworkContinueWithAuthParameters`",
|
|
2072
|
-
"description": "<pre>\\{<br /> request: NetworkRequest;<br
|
|
2402
|
+
"description": "<pre>\\{<br /> request: NetworkRequest;<br />}\\}</pre>",
|
|
2073
2403
|
"required": true
|
|
2074
2404
|
}
|
|
2075
|
-
]
|
|
2405
|
+
],
|
|
2406
|
+
"returns": {
|
|
2407
|
+
"type": "Object",
|
|
2408
|
+
"name": "local.NetworkContinueWithAuthResult",
|
|
2409
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2410
|
+
}
|
|
2411
|
+
}
|
|
2412
|
+
},
|
|
2413
|
+
"network.disownData": {
|
|
2414
|
+
"socket": {
|
|
2415
|
+
"command": "networkDisownData",
|
|
2416
|
+
"description": 'WebDriver Bidi command to send command method "network.disownData" with parameters.',
|
|
2417
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-network-disownData",
|
|
2418
|
+
"parameters": [
|
|
2419
|
+
{
|
|
2420
|
+
"name": "params",
|
|
2421
|
+
"type": "`remote.NetworkDisownDataParameters`",
|
|
2422
|
+
"description": "<pre>\\{<br /> dataType: NetworkDataType;<br /> collector: NetworkCollector;<br /> request: NetworkRequest;<br />\\}</pre>",
|
|
2423
|
+
"required": true
|
|
2424
|
+
}
|
|
2425
|
+
],
|
|
2426
|
+
"returns": {
|
|
2427
|
+
"type": "Object",
|
|
2428
|
+
"name": "local.NetworkDisownDataResult",
|
|
2429
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2430
|
+
}
|
|
2076
2431
|
}
|
|
2077
2432
|
},
|
|
2078
2433
|
"network.failRequest": {
|
|
@@ -2087,7 +2442,32 @@ var protocol = {
|
|
|
2087
2442
|
"description": "<pre>\\{<br /> request: NetworkRequest;<br />\\}</pre>",
|
|
2088
2443
|
"required": true
|
|
2089
2444
|
}
|
|
2090
|
-
]
|
|
2445
|
+
],
|
|
2446
|
+
"returns": {
|
|
2447
|
+
"type": "Object",
|
|
2448
|
+
"name": "local.NetworkFailRequestResult",
|
|
2449
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2450
|
+
}
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2453
|
+
"network.getData": {
|
|
2454
|
+
"socket": {
|
|
2455
|
+
"command": "networkGetData",
|
|
2456
|
+
"description": 'WebDriver Bidi command to send command method "network.getData" with parameters.',
|
|
2457
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-network-getData",
|
|
2458
|
+
"parameters": [
|
|
2459
|
+
{
|
|
2460
|
+
"name": "params",
|
|
2461
|
+
"type": "`remote.NetworkGetDataParameters`",
|
|
2462
|
+
"description": "<pre>\\{<br /> dataType: NetworkDataType;<br /> collector?: NetworkCollector;<br /> disown?: boolean;<br /> request: NetworkRequest;<br />\\}</pre>",
|
|
2463
|
+
"required": true
|
|
2464
|
+
}
|
|
2465
|
+
],
|
|
2466
|
+
"returns": {
|
|
2467
|
+
"type": "Object",
|
|
2468
|
+
"name": "local.NetworkGetDataResult",
|
|
2469
|
+
"description": "Command return value with the following interface:\n ```ts\n {\n bytes: NetworkBytesValue;\n }\n ```"
|
|
2470
|
+
}
|
|
2091
2471
|
}
|
|
2092
2472
|
},
|
|
2093
2473
|
"network.provideResponse": {
|
|
@@ -2102,7 +2482,32 @@ var protocol = {
|
|
|
2102
2482
|
"description": "<pre>\\{<br /> request: NetworkRequest;<br /> body?: NetworkBytesValue;<br /> cookies?: NetworkSetCookieHeader[];<br /> headers?: NetworkHeader[];<br /> reasonPhrase?: string;<br /> statusCode?: JsUint;<br />\\}</pre>",
|
|
2103
2483
|
"required": true
|
|
2104
2484
|
}
|
|
2105
|
-
]
|
|
2485
|
+
],
|
|
2486
|
+
"returns": {
|
|
2487
|
+
"type": "Object",
|
|
2488
|
+
"name": "local.NetworkProvideResponseResult",
|
|
2489
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2492
|
+
},
|
|
2493
|
+
"network.removeDataCollector": {
|
|
2494
|
+
"socket": {
|
|
2495
|
+
"command": "networkRemoveDataCollector",
|
|
2496
|
+
"description": 'WebDriver Bidi command to send command method "network.removeDataCollector" with parameters.',
|
|
2497
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-network-removeDataCollector",
|
|
2498
|
+
"parameters": [
|
|
2499
|
+
{
|
|
2500
|
+
"name": "params",
|
|
2501
|
+
"type": "`remote.NetworkRemoveDataCollectorParameters`",
|
|
2502
|
+
"description": "<pre>\\{<br /> collector: NetworkCollector;<br />\\}</pre>",
|
|
2503
|
+
"required": true
|
|
2504
|
+
}
|
|
2505
|
+
],
|
|
2506
|
+
"returns": {
|
|
2507
|
+
"type": "Object",
|
|
2508
|
+
"name": "local.NetworkRemoveDataCollectorResult",
|
|
2509
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2510
|
+
}
|
|
2106
2511
|
}
|
|
2107
2512
|
},
|
|
2108
2513
|
"network.removeIntercept": {
|
|
@@ -2117,7 +2522,12 @@ var protocol = {
|
|
|
2117
2522
|
"description": "<pre>\\{<br /> intercept: NetworkIntercept;<br />\\}</pre>",
|
|
2118
2523
|
"required": true
|
|
2119
2524
|
}
|
|
2120
|
-
]
|
|
2525
|
+
],
|
|
2526
|
+
"returns": {
|
|
2527
|
+
"type": "Object",
|
|
2528
|
+
"name": "local.NetworkRemoveInterceptResult",
|
|
2529
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2530
|
+
}
|
|
2121
2531
|
}
|
|
2122
2532
|
},
|
|
2123
2533
|
"network.setCacheBehavior": {
|
|
@@ -2132,7 +2542,32 @@ var protocol = {
|
|
|
2132
2542
|
"description": '<pre>\\{<br /> cacheBehavior: "default" | "bypass";<br /> contexts?: BrowsingContextBrowsingContext[];<br />\\}</pre>',
|
|
2133
2543
|
"required": true
|
|
2134
2544
|
}
|
|
2135
|
-
]
|
|
2545
|
+
],
|
|
2546
|
+
"returns": {
|
|
2547
|
+
"type": "Object",
|
|
2548
|
+
"name": "local.NetworkSetCacheBehaviorResult",
|
|
2549
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
},
|
|
2553
|
+
"network.setExtraHeaders": {
|
|
2554
|
+
"socket": {
|
|
2555
|
+
"command": "networkSetExtraHeaders",
|
|
2556
|
+
"description": 'WebDriver Bidi command to send command method "network.setExtraHeaders" with parameters.',
|
|
2557
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-network-setExtraHeaders",
|
|
2558
|
+
"parameters": [
|
|
2559
|
+
{
|
|
2560
|
+
"name": "params",
|
|
2561
|
+
"type": "`remote.NetworkSetExtraHeadersParameters`",
|
|
2562
|
+
"description": "<pre>\\{<br /> headers: NetworkHeader[];<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\}</pre>",
|
|
2563
|
+
"required": true
|
|
2564
|
+
}
|
|
2565
|
+
],
|
|
2566
|
+
"returns": {
|
|
2567
|
+
"type": "Object",
|
|
2568
|
+
"name": "local.NetworkSetExtraHeadersResult",
|
|
2569
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2570
|
+
}
|
|
2136
2571
|
}
|
|
2137
2572
|
},
|
|
2138
2573
|
"script.addPreloadScript": {
|
|
@@ -2167,7 +2602,12 @@ var protocol = {
|
|
|
2167
2602
|
"description": "<pre>\\{<br /> handles: ScriptHandle[];<br /> target: ScriptTarget;<br />\\}</pre>",
|
|
2168
2603
|
"required": true
|
|
2169
2604
|
}
|
|
2170
|
-
]
|
|
2605
|
+
],
|
|
2606
|
+
"returns": {
|
|
2607
|
+
"type": "Object",
|
|
2608
|
+
"name": "local.ScriptDisownResult",
|
|
2609
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2610
|
+
}
|
|
2171
2611
|
}
|
|
2172
2612
|
},
|
|
2173
2613
|
"script.callFunction": {
|
|
@@ -2182,7 +2622,12 @@ var protocol = {
|
|
|
2182
2622
|
"description": "<pre>\\{<br /> functionDeclaration: string;<br /> awaitPromise: boolean;<br /> target: ScriptTarget;<br /> arguments?: ScriptLocalValue[];<br /> resultOwnership?: ScriptResultOwnership;<br /> serializationOptions?: ScriptSerializationOptions;<br /> this?: ScriptLocalValue;<br /> userActivation?: boolean;<br />\\}</pre>",
|
|
2183
2623
|
"required": true
|
|
2184
2624
|
}
|
|
2185
|
-
]
|
|
2625
|
+
],
|
|
2626
|
+
"returns": {
|
|
2627
|
+
"type": "Object",
|
|
2628
|
+
"name": "local.ScriptCallFunctionResult",
|
|
2629
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2630
|
+
}
|
|
2186
2631
|
}
|
|
2187
2632
|
},
|
|
2188
2633
|
"script.evaluate": {
|
|
@@ -2237,7 +2682,12 @@ var protocol = {
|
|
|
2237
2682
|
"description": "<pre>\\{<br /> script: ScriptPreloadScript;<br />\\}</pre>",
|
|
2238
2683
|
"required": true
|
|
2239
2684
|
}
|
|
2240
|
-
]
|
|
2685
|
+
],
|
|
2686
|
+
"returns": {
|
|
2687
|
+
"type": "Object",
|
|
2688
|
+
"name": "local.ScriptRemovePreloadScriptResult",
|
|
2689
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2690
|
+
}
|
|
2241
2691
|
}
|
|
2242
2692
|
},
|
|
2243
2693
|
"storage.getCookies": {
|
|
@@ -2312,7 +2762,12 @@ var protocol = {
|
|
|
2312
2762
|
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> actions: InputSourceActions[];<br />\\}</pre>",
|
|
2313
2763
|
"required": true
|
|
2314
2764
|
}
|
|
2315
|
-
]
|
|
2765
|
+
],
|
|
2766
|
+
"returns": {
|
|
2767
|
+
"type": "Object",
|
|
2768
|
+
"name": "local.InputPerformActionsResult",
|
|
2769
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2770
|
+
}
|
|
2316
2771
|
}
|
|
2317
2772
|
},
|
|
2318
2773
|
"input.releaseActions": {
|
|
@@ -2327,7 +2782,12 @@ var protocol = {
|
|
|
2327
2782
|
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br />\\}</pre>",
|
|
2328
2783
|
"required": true
|
|
2329
2784
|
}
|
|
2330
|
-
]
|
|
2785
|
+
],
|
|
2786
|
+
"returns": {
|
|
2787
|
+
"type": "Object",
|
|
2788
|
+
"name": "local.InputReleaseActionsResult",
|
|
2789
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2790
|
+
}
|
|
2331
2791
|
}
|
|
2332
2792
|
},
|
|
2333
2793
|
"input.setFiles": {
|
|
@@ -2342,7 +2802,12 @@ var protocol = {
|
|
|
2342
2802
|
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> element: ScriptSharedReference;<br /> files: string[];<br />\\}</pre>",
|
|
2343
2803
|
"required": true
|
|
2344
2804
|
}
|
|
2345
|
-
]
|
|
2805
|
+
],
|
|
2806
|
+
"returns": {
|
|
2807
|
+
"type": "Object",
|
|
2808
|
+
"name": "local.InputSetFilesResult",
|
|
2809
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2810
|
+
}
|
|
2346
2811
|
}
|
|
2347
2812
|
},
|
|
2348
2813
|
"webExtension.install": {
|
|
@@ -2377,7 +2842,12 @@ var protocol = {
|
|
|
2377
2842
|
"description": "<pre>\\{<br /> extension: WebExtensionExtension;<br />\\}</pre>",
|
|
2378
2843
|
"required": true
|
|
2379
2844
|
}
|
|
2380
|
-
]
|
|
2845
|
+
],
|
|
2846
|
+
"returns": {
|
|
2847
|
+
"type": "Object",
|
|
2848
|
+
"name": "local.WebExtensionUninstallResult",
|
|
2849
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
2850
|
+
}
|
|
2381
2851
|
}
|
|
2382
2852
|
}
|
|
2383
2853
|
};
|
|
@@ -3664,9 +4134,8 @@ var appium_default = {
|
|
|
3664
4134
|
},
|
|
3665
4135
|
"/session/:sessionId/appium/device/app_state": {
|
|
3666
4136
|
POST: {
|
|
3667
|
-
command: "
|
|
3668
|
-
description: "
|
|
3669
|
-
deprecated: "Use the `queryAppState` mobile command (`driver.queryAppState()`) instead",
|
|
4137
|
+
command: "queryAppState",
|
|
4138
|
+
description: "Get the given app status on the device",
|
|
3670
4139
|
ref: "https://appium.io/docs/en/latest/reference/api/appium/#queryappstate",
|
|
3671
4140
|
parameters: [
|
|
3672
4141
|
{
|