Update app.py
Browse files
app.py
CHANGED
|
@@ -153,10 +153,12 @@ def capture_screenshot(url, width, height, full_page, bot_id, workspace_id, time
|
|
| 153 |
"type": "browser:captureScreenshot",
|
| 154 |
"input": {
|
| 155 |
"url": url,
|
|
|
|
|
|
|
| 156 |
"width": width,
|
| 157 |
"height": height,
|
| 158 |
"fullPage": bool(full_page),
|
| 159 |
-
"waitFor":
|
| 160 |
}
|
| 161 |
}
|
| 162 |
|
|
|
|
| 153 |
"type": "browser:captureScreenshot",
|
| 154 |
"input": {
|
| 155 |
"url": url,
|
| 156 |
+
"cssToInject": "greregreg",
|
| 157 |
+
"javascriptToInject": "gerregr",
|
| 158 |
"width": width,
|
| 159 |
"height": height,
|
| 160 |
"fullPage": bool(full_page),
|
| 161 |
+
"waitFor": 10000
|
| 162 |
}
|
| 163 |
}
|
| 164 |
|