Skip to content

Commit

Permalink
Merge pull request #17 from ClericPy/dev
Browse files Browse the repository at this point in the history
1.1.4
  • Loading branch information
ClericPy authored Apr 8, 2020
2 parents 6ff0be2 + e52debd commit d5f67ea
Show file tree
Hide file tree
Showing 8 changed files with 328 additions and 254 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,20 +143,18 @@
13. `mouse_press` / `mouse_release` / `mouse_move` / `mouse_move_rel` / `mouse_move_rel_chain`
> similar to the drag features. These mouse features is only dispatched events, not the real mouse action.
</details>
[More Examples](https://github.com/ClericPy/ichrome/blob/master/examples_async.py)
```python
from ichrome import AsyncChromeDaemon, AsyncChrome
import asyncio
async def main():
# async with AsyncChromeDaemon() as chromed:
# If there is no operation for chromed, it can be omitted for short
async with AsyncChromeDaemon(headless=False):
# If there is an existing daemon, such as `python -m ichrome`, the `async with AsyncChromeDaemon` context can be omitted.
async with AsyncChromeDaemon():
# connect to an opened chrome
async with AsyncChrome() as chrome:
tab = await chrome.new_tab(url="https://github.com/ClericPy")
Expand Down
215 changes: 0 additions & 215 deletions examples/test_async.py

This file was deleted.

Loading

0 comments on commit d5f67ea

Please sign in to comment.