зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1320099 - Move marionette_driver docs to testing/marionette/client. r=ato
MozReview-Commit-ID: 7Bshw4H5yRT --HG-- rename : testing/marionette/harness/docs/Makefile => testing/marionette/client/docs/Makefile rename : testing/marionette/harness/docs/advanced/actions.rst => testing/marionette/client/docs/advanced/actions.rst rename : testing/marionette/harness/docs/advanced/debug.rst => testing/marionette/client/docs/advanced/debug.rst rename : testing/marionette/harness/docs/advanced/findelement.rst => testing/marionette/client/docs/advanced/findelement.rst rename : testing/marionette/harness/docs/advanced/landing.rst => testing/marionette/client/docs/advanced/landing.rst rename : testing/marionette/harness/docs/advanced/stale.rst => testing/marionette/client/docs/advanced/stale.rst rename : testing/marionette/harness/docs/basics.rst => testing/marionette/client/docs/basics.rst rename : testing/marionette/harness/docs/conf.py => testing/marionette/client/docs/conf.py rename : testing/marionette/harness/docs/index.rst => testing/marionette/client/docs/index.rst rename : testing/marionette/harness/docs/interactive.rst => testing/marionette/client/docs/interactive.rst rename : testing/marionette/harness/docs/make.bat => testing/marionette/client/docs/make.bat rename : testing/marionette/harness/docs/reference.rst => testing/marionette/client/docs/reference.rst extra : rebase_source : b3683507bc48fe151daaef37edd759c58f0e1631
This commit is contained in:
Родитель
68d78f440e
Коммит
a01b3376e3
|
@ -3,7 +3,7 @@
|
|||
Marionette Python Client
|
||||
========================
|
||||
|
||||
The Marionette python client library allows you to remotely control a
|
||||
The Marionette Python client library allows you to remotely control a
|
||||
Gecko-based browser or device which is running a Marionette_
|
||||
server. This includes Firefox Desktop and Firefox for Android.
|
||||
|
||||
|
@ -21,11 +21,11 @@ This is the official Python client for Marionette. There also exists a
|
|||
Getting the Client
|
||||
------------------
|
||||
|
||||
The python client is officially supported. To install it, first make sure you
|
||||
The Python client is officially supported. To install it, first make sure you
|
||||
have `pip installed`_ then run:
|
||||
|
||||
.. parsed-literal::
|
||||
pip install marionette_client
|
||||
pip install marionette_driver
|
||||
|
||||
It's highly recommended to use virtualenv_ when installing Marionette to avoid
|
||||
package conflicts and other general nastiness.
|
||||
|
@ -54,6 +54,8 @@ server. Before you can start executing commands, you need to start a session
|
|||
with :func:`start_session() <Marionette.start_session>`:
|
||||
|
||||
.. parsed-literal::
|
||||
from marionette_driver.marionette import Marionette
|
||||
|
||||
client = Marionette('localhost', port=2828)
|
||||
client.start_session()
|
||||
|
Загрузка…
Ссылка в новой задаче