extend custom selection to date (#1357)
This commit is contained in:
@@ -50,4 +50,8 @@ Select History:
|
|||||||
```
|
```
|
||||||
{{ select_history }}
|
{{ select_history }}
|
||||||
```
|
```
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Current datetime in UTC, YYYY-MM-DD HH:MM format:
|
||||||
|
```
|
||||||
|
{{ utc_datetime }}
|
||||||
|
```
|
||||||
@@ -2,6 +2,7 @@ There is a screenshot from a part of a web HTML page. Help me confirm if it is a
|
|||||||
|
|
||||||
An open dropdown menu can be defined as:
|
An open dropdown menu can be defined as:
|
||||||
- At least one option is visible in the screenshot.
|
- At least one option is visible in the screenshot.
|
||||||
|
- A calendar view or date picker could be considered as an open dropdown menu.
|
||||||
- Do not consider it an open dropdown menu if the only visible option displays a message like "No results" or "No match".
|
- Do not consider it an open dropdown menu if the only visible option displays a message like "No results" or "No match".
|
||||||
- Do not consider it an open dropdown menu if the only visible element displays a placeholder like "Please select", "-", or "Select...".
|
- Do not consider it an open dropdown menu if the only visible element displays a placeholder like "Please select", "-", or "Select...".
|
||||||
|
|
||||||
|
|||||||
@@ -1879,6 +1879,7 @@ async def select_from_dropdown(
|
|||||||
navigation_payload_str=json.dumps(task.navigation_payload),
|
navigation_payload_str=json.dumps(task.navigation_payload),
|
||||||
elements=html,
|
elements=html,
|
||||||
select_history=json.dumps(build_sequential_select_history(select_history)) if select_history else "",
|
select_history=json.dumps(build_sequential_select_history(select_history)) if select_history else "",
|
||||||
|
utc_datetime=datetime.utcnow().strftime("%Y-%m-%d %H:%M"),
|
||||||
)
|
)
|
||||||
|
|
||||||
LOG.info(
|
LOG.info(
|
||||||
|
|||||||
Reference in New Issue
Block a user