Skip to main content

Render a dynamical sites.

Project description

Description

Web-render is a method of rendering dynamic web pages using Selenium.

Example

Любой из элементов на странице

render.set_url("https://site.com", web_wait={
        "name": "CheckElementInDOM",
        "params": {
            "selectors": ["#a-1", "#a-2"],
        }
    }
)

Указанные элементы на странице

render.set_url("https://site.com", web_wait={
        "name": "CheckElementsInDOM",
        "params": {
            "selectors": ["#a-1", "#a-2"],
        }
    }
)

Количество элементов на странице больше или равно count

render.set_url("https://site.com", web_wait={
        "name": "CheckNumberElementsInPage",
        "params": {
            "selector":"[data-widget=searchResultsV2] a.tile-hover-target[data-prerender]",
            "count": 30
        }
    }
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

w_render-0.3.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

w_render-0.3.1-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page