playwright-spy 1.0.2

Last updated:

0 purchases

playwright-spy 1.0.2 Image
playwright-spy 1.0.2 Images
Add to Cart

Description:

playwrightspy 1.0.2

playwright-spy [

A plugin for playwright-python to prevent detection.


Install
pip install playwright-spy

Usage
Page
from playwright.sync_api import sync_playwright
import playwright_spy

with sync_playwright() as p:
browser = p.chromium.launch()
page = browser.new_page()
playwright_spy.load_sync(page)
page.goto("https://bot.sannysoft.com/")
page.screenshot(path="example.png", full_page=True)
browser.close()

Context
from playwright.sync_api import sync_playwright
import playwright_spy

with sync_playwright() as p:
browser = p.chromium.launch()
context = browser.new_context()
playwright_spy.load_sync(context)

page = context.new_page()
page.goto("https://bot.sannysoft.com/")
page.screenshot(path="example.png", full_page=True)
browser.close()

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.