Allow custom message and embed fields to be cleared by submitting empty values
All checks were successful
Test and build Docker image / docker (push) Successful in 1m36s
All checks were successful
Test and build Docker image / docker (push) Successful in 1m36s
This commit is contained in:
parent
5958e7fa21
commit
d16fa92e4d
4 changed files with 444 additions and 32 deletions
|
|
@ -1247,7 +1247,7 @@ def _capture_full_page_screenshot_sync(
|
|||
headless=True,
|
||||
args=["--disable-dev-shm-usage", "--no-sandbox"],
|
||||
)
|
||||
try: # noqa: PLW0717
|
||||
try:
|
||||
if screenshot_layout == "mobile":
|
||||
page = browser.new_page(
|
||||
viewport={"width": 390, "height": 844},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue