Skip to content

Commit

Permalink
Use camelCase for WebDriver enumerations
Browse files Browse the repository at this point in the history
  • Loading branch information
javifernandez committed Oct 23, 2023
1 parent 4c27e3a commit 1a08871
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -111587,10 +111587,10 @@ interface <dfn interface>Navigator</dfn> {
mode</span>:</p>

<dl>
<dt>"<dfn data-x="rph-automation-mode-auto-accept"><code>auto-accept</code></dfn>"</dt>
<dt>"<dfn data-x="rph-automation-mode-auto-accept"><code>autoAccept</code></dfn>"</dt>
<dd><p>Act as if the user has seen the registration details and accepted the request.</p></dd>

<dt>"<dfn data-x="rph-automation-mode-auto-reject"><code>auto-reject</code></dfn>"</dt>
<dt>"<dfn data-x="rph-automation-mode-auto-reject"><code>autoReject</code></dfn>"</dt>
<dd><p>Act as if the user has seen the registration details and rejected the request.</p></dd>
</dl>

Expand Down Expand Up @@ -111800,8 +111800,8 @@ interface <dfn interface>Navigator</dfn> {
<p>Each <code>Document</code> has a <dfn><code
data-x="dom-navigator-registerProtocolHandler">registerProtocolHandler()</code> automation
mode</dfn>. It defaults to "<code data-x="rph-automation-mode-none">none</code>", but it also can
be either "<code data-x="rph-automation-mode-auto-accept">auto-accept</code>" or "<code
data-x="rph-automation-mode-auto-reject">auto-reject</code>".</p>
be either "<code data-x="rph-automation-mode-auto-accept">autoAccept</code>" or "<code
data-x="rph-automation-mode-auto-reject">autoReject</code>".</p>

<p>For the purposes of user agent automation and website testing, this standard defines <dfn
data-x="set-rph-registration-mode">Set RPH Registration Mode</dfn> WebDriver <span>extension
Expand Down Expand Up @@ -111830,8 +111830,8 @@ interface <dfn interface>Navigator</dfn> {
data-x="">mode</code>" from <var>parameters</var>.</p></li>

<li><p>If <var>mode</var> is not "<code
data-x="rph-automation-mode-auto-accept">auto-accept</code>", "<code
data-x="rph-automation-mode-auto-reject">auto-reject</code>, or "<code
data-x="rph-automation-mode-auto-accept">autoAccept</code>", "<code
data-x="rph-automation-mode-auto-reject">autoReject</code>, or "<code
data-x="rph-automation-mode-none">none</code>", return a <span>WebDriver error</span> with
<span>WebDriver error code</span> <span>invalid argument</span>.</p></li>

Expand Down

0 comments on commit 1a08871

Please sign in to comment.