абузы: free-панели new-api на вкладке (роут /api/panels + грид), CSS вынесен из JS, панельный классификатор даёт freeapi-вес, тесты
This commit is contained in:
@@ -9,7 +9,7 @@ with Camoufox(headless=True, geoip=False, humanize=True) as b:
|
||||
p = b.new_page(viewport={"width": 1400, "height": 1000})
|
||||
p.goto(URL, wait_until="domcontentloaded", timeout=60000)
|
||||
p.wait_for_selector("#view", timeout=60000)
|
||||
p.wait_for_timeout(7000)
|
||||
p.wait_for_timeout(14000)
|
||||
txt = p.inner_text("#view")[:900]
|
||||
p.screenshot(path=OUT, full_page=False)
|
||||
print(txt)
|
||||
|
||||
Reference in New Issue
Block a user