Skip to content

Commit

Permalink
Updated protocol specification, which fixes many reported issues, eg …
Browse files Browse the repository at this point in the history
…(Dom.ScrollableFlagUpdated), added some experimental methods and fixes
  • Loading branch information
ultrafunkamsterdam committed Nov 21, 2024
1 parent 1bb6003 commit ab07a8f
Show file tree
Hide file tree
Showing 224 changed files with 31,479 additions and 32,647 deletions.
4 changes: 4 additions & 0 deletions docs/_build/html/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@
<li class="toctree-l2"><a class="reference internal" href="../nodriver/cdp/audits.html">Audits</a></li>
<li class="toctree-l2"><a class="reference internal" href="../nodriver/cdp/autofill.html">Autofill</a></li>
<li class="toctree-l2"><a class="reference internal" href="../nodriver/cdp/background_service.html">BackgroundService</a></li>
<li class="toctree-l2"><a class="reference internal" href="../nodriver/cdp/bluetooth_emulation.html">BluetoothEmulation</a></li>
<li class="toctree-l2"><a class="reference internal" href="../nodriver/cdp/browser.html">Browser</a></li>
<li class="toctree-l2"><a class="reference internal" href="../nodriver/cdp/cache_storage.html">CacheStorage</a></li>
<li class="toctree-l2"><a class="reference internal" href="../nodriver/cdp/cast.html">Cast</a></li>
Expand All @@ -198,6 +199,7 @@
<li class="toctree-l2"><a class="reference internal" href="../nodriver/cdp/extensions.html">Extensions</a></li>
<li class="toctree-l2"><a class="reference internal" href="../nodriver/cdp/fed_cm.html">FedCm</a></li>
<li class="toctree-l2"><a class="reference internal" href="../nodriver/cdp/fetch.html">Fetch</a></li>
<li class="toctree-l2"><a class="reference internal" href="../nodriver/cdp/file_system.html">FileSystem</a></li>
<li class="toctree-l2"><a class="reference internal" href="../nodriver/cdp/headless_experimental.html">HeadlessExperimental</a></li>
<li class="toctree-l2"><a class="reference internal" href="../nodriver/cdp/heap_profiler.html">HeapProfiler</a></li>
<li class="toctree-l2"><a class="reference internal" href="../nodriver/cdp/indexed_db.html">IndexedDB</a></li>
Expand Down Expand Up @@ -267,6 +269,7 @@ <h1>All modules for which code is available</h1>
<li><a href="nodriver/cdp/audits.html">nodriver.cdp.audits</a></li>
<li><a href="nodriver/cdp/autofill.html">nodriver.cdp.autofill</a></li>
<li><a href="nodriver/cdp/background_service.html">nodriver.cdp.background_service</a></li>
<li><a href="nodriver/cdp/bluetooth_emulation.html">nodriver.cdp.bluetooth_emulation</a></li>
<li><a href="nodriver/cdp/browser.html">nodriver.cdp.browser</a></li>
<li><a href="nodriver/cdp/cache_storage.html">nodriver.cdp.cache_storage</a></li>
<li><a href="nodriver/cdp/cast.html">nodriver.cdp.cast</a></li>
Expand All @@ -285,6 +288,7 @@ <h1>All modules for which code is available</h1>
<li><a href="nodriver/cdp/extensions.html">nodriver.cdp.extensions</a></li>
<li><a href="nodriver/cdp/fed_cm.html">nodriver.cdp.fed_cm</a></li>
<li><a href="nodriver/cdp/fetch.html">nodriver.cdp.fetch</a></li>
<li><a href="nodriver/cdp/file_system.html">nodriver.cdp.file_system</a></li>
<li><a href="nodriver/cdp/headless_experimental.html">nodriver.cdp.headless_experimental</a></li>
<li><a href="nodriver/cdp/heap_profiler.html">nodriver.cdp.heap_profiler</a></li>
<li><a href="nodriver/cdp/indexed_db.html">nodriver.cdp.indexed_db</a></li>
Expand Down
435 changes: 176 additions & 259 deletions docs/_build/html/_modules/nodriver/cdp/accessibility.html

Large diffs are not rendered by default.

363 changes: 169 additions & 194 deletions docs/_build/html/_modules/nodriver/cdp/animation.html

Large diffs are not rendered by default.

1,101 changes: 359 additions & 742 deletions docs/_build/html/_modules/nodriver/cdp/audits.html

Large diffs are not rendered by default.

152 changes: 75 additions & 77 deletions docs/_build/html/_modules/nodriver/cdp/autofill.html

Large diffs are not rendered by default.

137 changes: 65 additions & 72 deletions docs/_build/html/_modules/nodriver/cdp/background_service.html

Large diffs are not rendered by default.

526 changes: 526 additions & 0 deletions docs/_build/html/_modules/nodriver/cdp/bluetooth_emulation.html

Large diffs are not rendered by default.

457 changes: 217 additions & 240 deletions docs/_build/html/_modules/nodriver/cdp/browser.html

Large diffs are not rendered by default.

206 changes: 101 additions & 105 deletions docs/_build/html/_modules/nodriver/cdp/cache_storage.html

Large diffs are not rendered by default.

116 changes: 61 additions & 55 deletions docs/_build/html/_modules/nodriver/cdp/cast.html

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions docs/_build/html/_modules/nodriver/cdp/console.html

Large diffs are not rendered by default.

1,851 changes: 789 additions & 1,062 deletions docs/_build/html/_modules/nodriver/cdp/css.html

Large diffs are not rendered by default.

128 changes: 58 additions & 70 deletions docs/_build/html/_modules/nodriver/cdp/database.html

Large diffs are not rendered by default.

1,143 changes: 489 additions & 654 deletions docs/_build/html/_modules/nodriver/cdp/debugger.html

Large diffs are not rendered by default.

87 changes: 44 additions & 43 deletions docs/_build/html/_modules/nodriver/cdp/device_access.html

Large diffs are not rendered by default.

32 changes: 17 additions & 15 deletions docs/_build/html/_modules/nodriver/cdp/device_orientation.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@
<li class="toctree-l2"><a class="reference internal" href="../../../nodriver/cdp/audits.html">Audits</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../nodriver/cdp/autofill.html">Autofill</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../nodriver/cdp/background_service.html">BackgroundService</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../nodriver/cdp/bluetooth_emulation.html">BluetoothEmulation</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../nodriver/cdp/browser.html">Browser</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../nodriver/cdp/cache_storage.html">CacheStorage</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../nodriver/cdp/cast.html">Cast</a></li>
Expand All @@ -198,6 +199,7 @@
<li class="toctree-l2"><a class="reference internal" href="../../../nodriver/cdp/extensions.html">Extensions</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../nodriver/cdp/fed_cm.html">FedCm</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../nodriver/cdp/fetch.html">Fetch</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../nodriver/cdp/file_system.html">FileSystem</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../nodriver/cdp/headless_experimental.html">HeadlessExperimental</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../nodriver/cdp/heap_profiler.html">HeapProfiler</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../nodriver/cdp/indexed_db.html">IndexedDB</a></li>
Expand Down Expand Up @@ -278,14 +280,12 @@ <h1>Source code for nodriver.cdp.device_orientation</h1><div class="highlight"><

<div class="viewcode-block" id="clear_device_orientation_override">
<a class="viewcode-back" href="../../../nodriver/cdp/device_orientation.html#nodriver.cdp.device_orientation.clear_device_orientation_override">[docs]</a>
<span class="k">def</span> <span class="nf">clear_device_orientation_override</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="p">(</span>
<span class="n">typing</span><span class="o">.</span><span class="n">Generator</span><span class="p">[</span><span class="n">T_JSON_DICT</span><span class="p">,</span> <span class="n">T_JSON_DICT</span><span class="p">,</span> <span class="kc">None</span><span class="p">]</span>
<span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="k">def</span> <span class="nf">clear_device_orientation_override</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="n">typing</span><span class="o">.</span><span class="n">Generator</span><span class="p">[</span><span class="n">T_JSON_DICT</span><span class="p">,</span><span class="n">T_JSON_DICT</span><span class="p">,</span><span class="kc">None</span><span class="p">]:</span>
<span class="w"> </span><span class="sd">&#39;&#39;&#39;</span>
<span class="sd"> Clears the overridden Device Orientation.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="sd"> &#39;&#39;&#39;</span>
<span class="n">cmd_dict</span><span class="p">:</span> <span class="n">T_JSON_DICT</span> <span class="o">=</span> <span class="p">{</span>
<span class="s2">&quot;method&quot;</span><span class="p">:</span> <span class="s2">&quot;DeviceOrientation.clearDeviceOrientationOverride&quot;</span><span class="p">,</span>
<span class="s1">&#39;method&#39;</span><span class="p">:</span> <span class="s1">&#39;DeviceOrientation.clearDeviceOrientationOverride&#39;</span><span class="p">,</span>
<span class="p">}</span>
<span class="n">json</span> <span class="o">=</span> <span class="k">yield</span> <span class="n">cmd_dict</span></div>

Expand All @@ -294,22 +294,24 @@ <h1>Source code for nodriver.cdp.device_orientation</h1><div class="highlight"><
<div class="viewcode-block" id="set_device_orientation_override">
<a class="viewcode-back" href="../../../nodriver/cdp/device_orientation.html#nodriver.cdp.device_orientation.set_device_orientation_override">[docs]</a>
<span class="k">def</span> <span class="nf">set_device_orientation_override</span><span class="p">(</span>
<span class="n">alpha</span><span class="p">:</span> <span class="nb">float</span><span class="p">,</span> <span class="n">beta</span><span class="p">:</span> <span class="nb">float</span><span class="p">,</span> <span class="n">gamma</span><span class="p">:</span> <span class="nb">float</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="n">typing</span><span class="o">.</span><span class="n">Generator</span><span class="p">[</span><span class="n">T_JSON_DICT</span><span class="p">,</span> <span class="n">T_JSON_DICT</span><span class="p">,</span> <span class="kc">None</span><span class="p">]:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="n">alpha</span><span class="p">:</span> <span class="nb">float</span><span class="p">,</span>
<span class="n">beta</span><span class="p">:</span> <span class="nb">float</span><span class="p">,</span>
<span class="n">gamma</span><span class="p">:</span> <span class="nb">float</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="n">typing</span><span class="o">.</span><span class="n">Generator</span><span class="p">[</span><span class="n">T_JSON_DICT</span><span class="p">,</span><span class="n">T_JSON_DICT</span><span class="p">,</span><span class="kc">None</span><span class="p">]:</span>
<span class="w"> </span><span class="sd">&#39;&#39;&#39;</span>
<span class="sd"> Overrides the Device Orientation.</span>

<span class="sd"> :param alpha: Mock alpha</span>
<span class="sd"> :param beta: Mock beta</span>
<span class="sd"> :param gamma: Mock gamma</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="sd"> &#39;&#39;&#39;</span>
<span class="n">params</span><span class="p">:</span> <span class="n">T_JSON_DICT</span> <span class="o">=</span> <span class="nb">dict</span><span class="p">()</span>
<span class="n">params</span><span class="p">[</span><span class="s2">&quot;alpha&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">alpha</span>
<span class="n">params</span><span class="p">[</span><span class="s2">&quot;beta&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">beta</span>
<span class="n">params</span><span class="p">[</span><span class="s2">&quot;gamma&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">gamma</span>
<span class="n">params</span><span class="p">[</span><span class="s1">&#39;alpha&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">alpha</span>
<span class="n">params</span><span class="p">[</span><span class="s1">&#39;beta&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">beta</span>
<span class="n">params</span><span class="p">[</span><span class="s1">&#39;gamma&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">gamma</span>
<span class="n">cmd_dict</span><span class="p">:</span> <span class="n">T_JSON_DICT</span> <span class="o">=</span> <span class="p">{</span>
<span class="s2">&quot;method&quot;</span><span class="p">:</span> <span class="s2">&quot;DeviceOrientation.setDeviceOrientationOverride&quot;</span><span class="p">,</span>
<span class="s2">&quot;params&quot;</span><span class="p">:</span> <span class="n">params</span><span class="p">,</span>
<span class="s1">&#39;method&#39;</span><span class="p">:</span> <span class="s1">&#39;DeviceOrientation.setDeviceOrientationOverride&#39;</span><span class="p">,</span>
<span class="s1">&#39;params&#39;</span><span class="p">:</span> <span class="n">params</span><span class="p">,</span>
<span class="p">}</span>
<span class="n">json</span> <span class="o">=</span> <span class="k">yield</span> <span class="n">cmd_dict</span></div>

Expand Down
Loading

0 comments on commit ab07a8f

Please sign in to comment.