Skip to content

pypi plw 0.171.1. but not v1.8.0a1 & AttributeError: 'Page' object has no attribute 'query_selector' #452

@osmenia

Description

@osmenia

Hi Team,

I want to test how works Plw with Py.

def run(playwright):
    browser = playwright.chromium.launch(headless=False)
    context = browser.newContext(acceptDownloads=True)

    page = context.newPage()

    page.goto(
        "https://file-examples.com/index.php/sample-documents-download/sample-xls-download/")

    handles = page.query_selector_all("#table-files .file-link")
    print(handles)

AttributeError: 'Page' object has no attribute 'query_selector_all'

maybe here is problem with version i am using: playwright 0.171.1

Screenshot made today

can you pls update pypi plw v1.8.0a1

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions