Firefox Marionette client for asyncio
Project description
FireFox Marionette Client for asyncio
aiomarionette provides an asynchronous client interface for the Firefox Marionette remote control protocol.
Usage
To use aiomarionette, create an instance of the Marionette
class. By
default, the cclient will attempt to connect to the Marionette socket on the
local machine, port 2828. You can specify the host
and/or port
arguments to
change this. Be sure to call the connect
method first, before calling any
of the command methods.
async with aiomarionette.Marionette() as mn:
mn.connect()
mn.navigate('https://getfirefox.com/')
Compared to marionette_driver
The official Python client for Firefox Marionette is marionette_driver. Although it is more complete than aiomarionette (at least for now), it only provides a blocking API.
Unlike marionette_driver, aiomarionette does not currently support launching Firefox directly. You must explicity start a Firefox process in Marionette mode before connecting to it with aiomarionette.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aiomarionette-0.0.3.tar.gz
.
File metadata
- Download URL: aiomarionette-0.0.3.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.16.12-200.fc35.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68df26b2f826062809f3ef2b466d8a0f73dd889dcc4e71568b7a2a0605810698 |
|
MD5 | 689ae3959c22fc569f7545dabcc03cbe |
|
BLAKE2b-256 | 9558d8f605828ec853f09e24122bbda89c65d3e617fa86e9442702a4d9ecd47b |
File details
Details for the file aiomarionette-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: aiomarionette-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.16.12-200.fc35.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 605dd410f573310bff6a687f37a9c3e427ecc40ed8edf2c38a0df77fe1f83af3 |
|
MD5 | a3f3e2536fbbd81dbc85c21a00f2911c |
|
BLAKE2b-256 | 63039d1d89fabbb46317481d81548d09ae04e9cc138a0be9706e07d8cc7ca26d |