scitex_browser.automation

Browser automation utilities.

class scitex_browser.automation.CookieAutoAcceptor[source]

Bases: object

Automatically handles cookie consent banners on web pages.

__init__()[source]
async inject_auto_acceptor_async(context)[source]

Inject auto-acceptor script into browser context.

get_auto_acceptor_script()[source]

Check if a cookie banner is still visible.

Return type:

bool