Skip to content

Commit

Permalink
Add extra params to async driver
Browse files Browse the repository at this point in the history
  • Loading branch information
alfred82santa committed Mar 2, 2018
1 parent e0e256c commit 45372b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webwhatsapi/async_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
class WhatsAPIDriverAsync:

def __init__(self, client="firefox", username="API", proxy=None, command_executor=None, loadstyles=False,
profile=None, headless=False, logger=None, loop=None):
profile=None, headless=False, logger=None, extra_params=None, loop=None):

self._driver = WhatsAPIDriver(client=client, username=username, proxy=proxy, command_executor=command_executor,
loadstyles=loadstyles, profile=profile, headless=headless, logger=logger,
autoconnect=False)
autoconnect=False, extra_params=extra_params)

self.loop = loop or get_event_loop()
self._pool_executor = ThreadPoolExecutor(max_workers=1)
Expand Down

0 comments on commit 45372b3

Please sign in to comment.