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
Release history Release notifications | RSS feed
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)