High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
package cdpops
import (
"context"
"github.com/chromedp/cdproto/page"
)
func SetPageFrozen(ctx context.Context, frozen bool) error {
state := page.SetWebLifecycleStateStateActive
if frozen {
state = page.SetWebLifecycleStateStateFrozen
}
return page.SetWebLifecycleState(state).Do(ctx)
}