You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
Web pages that are rendered on the browser side and made without SSR are not seen by bots. Because bots can't render pages. This microservice allows all bots to see the already rendered page.
4
4
5
5
Features:
6
+
6
7
- Allows bots to see content on web pages without SSR
7
8
- Works on any framework, ex: JQuery, Angular 1, StencilJS and others
8
9
- Works on any technologies, ex: WebComponents, Microfrontends, Dynamic Content and others
@@ -59,6 +60,9 @@ The server will return a response with the specified status code.
59
60
-`-e BOTVIEW_WAIT_UNTIL=networkidle` - [When to consider waiting succeeds. Given an array of event strings, waiting is considered to be successful after all events have been fired](https://playwright.dev/docs/api/class-page#page-goto),
60
61
default networkidle.
61
62
63
+
-`-e BOTVIEW_VIEWPORT="360x640"` - Set the screen resolution (viewport) for the browser context, format is WIDTHxHEIGHT (e.g. `1280x720`). Default is `360x640`.
64
+
Example: `-e BOTVIEW_VIEWPORT="1280x720"`
65
+
62
66
-`-e BOTVIEW_BLOCK_IMAGES=true` - Block loading of images to improve performance, default true.
63
67
64
68
-`-e BOTVIEW_BLOCK_STYLESHEETS=true` - Block loading of stylesheets to improve performance, default true.
process.env.BOTVIEW_BLOCK_MEDIA||="true";// true to block media
13
13
process.env.BOTVIEW_BLOCK_URLS||="https://an.yandex.ru, https://mc.yandex.ru";// comma or space separated list of urls to block (URL-encoding is optional)
14
14
process.env.BOTVIEW_BLOCK_URLS_REGEX||="";// comma or space separated list of regexes to block (URL-encoding is optional)
0 commit comments