mirror of
https://github.com/Kr1s77/awesome-python-login-model.git
synced 2026-10-16 20:20:42 +08:00
update web window size.
This commit is contained in:
committed by
GitHub
parent
e345949b6c
commit
0316ba00b8
@@ -57,6 +57,7 @@ class XMLogin(object):
|
||||
self.browser = await launch({
|
||||
'headless': False,
|
||||
'userDataDir': cache_dir,
|
||||
'defaultViewport': {'width': 1440, 'height': 1000},
|
||||
'args': ['--no-sandbox']
|
||||
})
|
||||
self.page = await self.browser.newPage()
|
||||
|
||||
Reference in New Issue
Block a user