alfred82santa / whalesong

Whalesong is an asyncio python library to manage WebApps remotely. Currently WhatsappWeb is implemented
https://whalesong.readthedocs.io
MIT License
51 stars 19 forks source link

Start Driver with headless = True #64

Closed Tingaev closed 5 years ago

Tingaev commented 5 years ago

Hello I don't understand how I can run one of example with "headless=True". I am try start minibot.py in docker container, but output was empty. Which the moment I can call method get_qr() and get him?

alfred82santa commented 5 years ago

Well, minibot does not implement that functionality. But you could look at https://github.com/alfred82santa/whalesong/blob/master/examples/statemonitor-chromium.py#L65

It monitors ref field, which is represented in qr.

Tingaev commented 5 years ago

New REF value: 1@7Fa4UujqTgeeuzMcb4sM//kdbsk/KlqTWLXTEgiPGlwjR0UHh9x3Pz/u It is code, which I can use for create image, and I get Qr code?

Tingaev commented 5 years ago

Thank you so much 🙂