Bug 1523913 - [geckodriver] Fix table layout in capabilities documentation. r=me a=doc

DONTBUILD

--HG--
extra : rebase_source : 2b21d9da32dd5ed658d7f0cbf7b3701b141ac719
This commit is contained in:
Henrik Skupin 2019-01-30 14:43:57 +01:00
Родитель efe5780660
Коммит e5769f780c
2 изменённых файлов: 14 добавлений и 8 удалений

Просмотреть файл

@ -10,6 +10,12 @@ geckodriver has a few capabilities that are specific to Firefox.
A dictionary used to define options which control how Firefox gets
started and run. It may contain any of the following fields:
<style type="text/css">
table { width: 100%; margin-bottom: 2em; }
table, th, td { border: solid gray 1px; }
td, th { padding: 5px 10px; }
</style>
<table>
<thead>
<tr>
@ -21,7 +27,7 @@ started and run. It may contain any of the following fields:
<tr id=capability-binary>
<td><code>binary</code>
<td>string
<td align="center">string
<td>Absolute path of the Firefox binary,
e.g. <code>/usr/bin/firefox</code>
or <code>/Applications/Firefox.app/Contents/MacOS/firefox</code>,
@ -33,7 +39,7 @@ started and run. It may contain any of the following fields:
<tr id=capability-args>
<td><code>args</code>
<td>array&nbsp;of&nbsp;strings
<td align="center">array&nbsp;of&nbsp;strings
<td><p>Command line arguments to pass to the Firefox binary.
These must include the leading dash (<code>-</code>) where required,
e.g. <code>["-devtools"]</code>.
@ -44,7 +50,7 @@ started and run. It may contain any of the following fields:
<tr id=capability-profile>
<td><code>profile</code>
<td>string
<td align="center">string
<td><p>Base64-encoded ZIP of a profile directory to use for the Firefox instance.
This may be used to e.g. install extensions or custom certificates,
but for setting custom preferences
@ -67,7 +73,7 @@ started and run. It may contain any of the following fields:
<tr id=capability-log>
<td><code>log</code>
<td><a href=#log-object><code>log</code></a>&nbsp;object
<td align="center"><a href=#log-object><code>log</code></a>&nbsp;object
<td>To increase the logging verbosity of geckodriver and Firefox,
you may pass a <a href=#log-object><code>log</code> object</a>
that may look like <code>{"log": {"level": "trace"}}</code>
@ -76,7 +82,7 @@ started and run. It may contain any of the following fields:
<tr id=capability-prefs>
<td><code>prefs</code>
<td><a href=#prefs-object><code>prefs</code></a>&nbsp;object
<td align="center"><a href=#prefs-object><code>prefs</code></a>&nbsp;object
<td>Map of preference name to preference value, which can be a
string, a boolean or an integer.
</tr>
@ -141,7 +147,7 @@ it will be removed once the interactability checks have been stabilized.
<tr>
<td><code>level</code>
<td>string
<td align="center">string
<td>Set the level of verbosity of geckodriver and Firefox.
Available levels are <code>trace</code>,
<code>debug</code>, <code>config</code>,
@ -167,7 +173,7 @@ it will be removed once the interactability checks have been stabilized.
<tr>
<td><var>preference name</var>
<td>string, number, boolean
<td align="center">string, number, boolean
<td>One entry per preference to override.
</tr>
</table>

Просмотреть файл

@ -7,7 +7,7 @@ and required versions of Selenium and Firefox:
<style type="text/css">
table { width: 100%; margin-bottom: 2em; }
table, th, td { border: solid gray 1px; }
td { padding: 5px 10px; text-align: center; }
td, th { padding: 5px 10px; text-align: center; }
</style>
<table>