562 lines
30 KiB
Plaintext
562 lines
30 KiB
Plaintext
# Instruction
|
||
- You are an expert in cleaning process data descriptions. Given a task, you are provided with a set of annotation description
|
||
data for a certain visual LLM related to human user operation videos. Plus, You are provided with full trace of playwright action,
|
||
whic includes action and url before and after the action.
|
||
- You need to analyze all the descriptive data and ultimately summarize a complete and reasonable user operation description that can accomplish the given task.
|
||
- For each strategy, give a clear list of the low level action sequence.
|
||
|
||
# Task
|
||
Promote auth0/angular-storage to subreddit technology with the description from the repo itself.
|
||
|
||
# Annotation description
|
||
## Part 1
|
||
### Step-by-Step Actions in the Video Segment
|
||
|
||
#### 1. **Action:**
|
||
I click on the search bar located at the top of the webpage.
|
||
|
||
**Page Changes:**
|
||
The search bar becomes active, and a placeholder text "Search GitLab" is highlighted, indicating that it is ready for input.
|
||
|
||
**Possible Purpose:**
|
||
The likely intent is to initiate a search within the GitLab platform, possibly to find specific projects, users, or other resources.
|
||
|
||
---
|
||
|
||
#### 2. **Action:**
|
||
I hover over the search bar without clicking elsewhere.
|
||
|
||
**Page Changes:**
|
||
No changes occur on the page; the search bar remains active with the placeholder text still visible.
|
||
|
||
**Possible Purpose:**
|
||
This action might be to ensure the search bar is correctly activated or to prepare for typing a search query.
|
||
|
||
---
|
||
|
||
#### 3. **Action:**
|
||
I type the text `get_by_placeholder("Search GitLab")` into the search bar.
|
||
|
||
**Page Changes:**
|
||
The text appears in the search bar, replacing the placeholder text. However, no search results are displayed yet since the Enter key has not been pressed or the search button has not been clicked.
|
||
|
||
**Possible Purpose:**
|
||
The purpose appears to be demonstrating how to interact with the search bar, possibly for educational or testing purposes (e.g., showing how to use a function like `get_by_placeholder` in an automated testing context).
|
||
|
||
---
|
||
|
||
#### 4. **Action:**
|
||
I stop typing and do not press Enter or click the search button.
|
||
|
||
**Page Changes:**
|
||
The page remains unchanged; the typed text stays in the search bar, and no search results are initiated.
|
||
|
||
**Possible Purpose:**
|
||
This could be to pause the demonstration or to focus on explaining the current state before proceeding with the actual search.
|
||
|
||
---
|
||
|
||
### Summary
|
||
In this video segment, I interact with the search bar on the GitLab projects page by activating it, hovering over it, typing a specific string, and then pausing without initiating the search. The actions seem to be part of a step-by-step demonstration, possibly for instructional or testing purposes. No other elements on the page are interacted with during this segment.
|
||
|
||
---
|
||
|
||
## Part 2
|
||
### Step-by-Step Actions in the Video Segment
|
||
|
||
#### 1. **Initial State**
|
||
- **Action:** The video begins with a view of a GitLab projects page.
|
||
- **Page Changes:** The page displays a list of projects under "Yours" and "All" categories, along with details such as project names, descriptions, star counts, issue counts, and update times.
|
||
- **Possible Purpose:** The initial state sets the context for navigating or searching within the GitLab interface.
|
||
|
||
#### 2. **Click on the Search Bar**
|
||
- **Action:** I click on the search bar located at the top of the page.
|
||
- **Page Changes:** The search bar becomes active, and a placeholder text "Search GitLab" is highlighted.
|
||
- **Possible Purpose:** Activating the search bar to input a query for finding specific projects, issues, or other elements within GitLab.
|
||
|
||
#### 3. **Type into the Search Bar**
|
||
- **Action:** I type "auth0/angular-storage" into the active search bar.
|
||
- **Page Changes:** As I type, the text appears in the search bar. After completing the entry, the page transitions to a search results page.
|
||
- **Possible Purpose:** Entering a specific search term to locate a particular project or resource named "auth0/angular-storage."
|
||
|
||
#### 4. **Search Results Page**
|
||
- **Action:** The search is executed after typing the query.
|
||
- **Page Changes:** The page now displays a "Search" header with a message: "We couldn't find any projects matching auth0/angular-storage." It also shows a breakdown of search results under "Projects," "Issues," "Merge requests," "Milestones," and "Users," all indicating zero results except for one merge request.
|
||
- **Possible Purpose:** To confirm the availability or existence of the specified project or related items within the GitLab instance.
|
||
|
||
#### 5. **Highlighting UI Elements**
|
||
- **Action:** I highlight the search bar and the text "What are you searching for?" using an inspection tool.
|
||
- **Page Changes:** The highlighted elements are visually emphasized, likely for demonstration or documentation purposes.
|
||
- **Possible Purpose:** To draw attention to the search functionality and its components, possibly for instructional or debugging reasons.
|
||
|
||
### Summary
|
||
In this video segment, I interact with the GitLab interface by activating and using the search bar to look for "auth0/angular-storage." Despite the search, no matching projects are found, and I proceed to highlight relevant UI elements, presumably for explanatory or analytical purposes. Each action is methodical, focusing on the search functionality and its outcomes within the GitLab environment.
|
||
|
||
---
|
||
|
||
## Part 3
|
||
### Step-by-Step Actions:
|
||
|
||
1. **Action:** I click on the search bar labeled "What are you searching for?".
|
||
- **Page Changes:** The search bar becomes active, and a blinking cursor appears inside it, indicating that it is ready for input.
|
||
- **Possible Purpose:** The likely intent is to initiate a search query within the platform.
|
||
|
||
2. **Action:** I type "angular-storage" into the search bar.
|
||
- **Page Changes:** As I type, the text "angular-storage" appears in the search bar. Below the search bar, a dropdown suggestion appears with the text "Auth0 / angular-storage".
|
||
- **Possible Purpose:** The purpose is to search for a specific project or resource named "angular-storage".
|
||
|
||
3. **Action:** I press the Enter key.
|
||
- **Page Changes:** The page transitions to display the search results. The header shows "We couldn't find any projects matching auth0", but below that, a project titled "Auth0 / angular-storage" is listed with details such as commits, branches, tags, and releases.
|
||
- **Possible Purpose:** The intent is to execute the search and view the results for "angular-storage".
|
||
|
||
4. **Action:** I click on the project titled "Auth0 / angular-storage".
|
||
- **Page Changes:** The page navigates to the detailed view of the "Auth0 / angular-storage" project. This new page displays various sections including project information, repository files, issues, merge requests, CI/CD, deployments, packages and registries, monitor, analytics, wiki, and snippets.
|
||
- **Possible Purpose:** The purpose is to access and view the detailed information and contents of the "Auth0 / angular-storage" project.
|
||
|
||
### Summary:
|
||
- I initiated a search by clicking on the search bar and typing "angular-storage".
|
||
- I executed the search by pressing Enter, which displayed the search results.
|
||
- I selected the "Auth0 / angular-storage" project from the search results to view its detailed information.
|
||
|
||
---
|
||
|
||
## Part 4
|
||
### Step-by-Step Actions in the Provided Video Segment
|
||
|
||
#### 1. **Initial State**
|
||
- **Action:** The video begins with a webpage open, displaying a list of forums and discussions on a platform that resembles Reddit.
|
||
- **Page Changes:** The page shows various forum threads under categories like "consoles," "relationship_advice," "worldnews," etc., along with submission counts and options to subscribe.
|
||
- **Possible Purpose:** The initial state sets the context, indicating that the user is browsing through different forum topics, possibly looking for specific information or discussions.
|
||
|
||
#### 2. **Scrolling Down the Page**
|
||
- **Action:** I scroll down the webpage.
|
||
- **Page Changes:** As I scroll, more forum threads become visible, revealing additional topics and discussions.
|
||
- **Possible Purpose:** The purpose of scrolling is to explore more content and find a particular thread or topic of interest that might not be visible in the initial view.
|
||
|
||
#### 3. **Clicking on a Forum Thread**
|
||
- **Action:** I click on a forum thread titled "What's a good price to sell this for? I don't want to get screwed over."
|
||
- **Page Changes:** The page transitions to the selected forum thread, displaying the original post and any comments or replies related to the discussion.
|
||
- **Possible Purpose:** By clicking on the thread, I intend to read the details of the discussion, possibly to gather information about pricing for a specific item or to contribute to the conversation.
|
||
|
||
#### 4. **Reading the Selected Thread**
|
||
- **Action:** I review the content of the selected forum thread.
|
||
- **Page Changes:** The thread content is now fully visible, including the original question, any images or links posted, and the comments from other users.
|
||
- **Possible Purpose:** The purpose of reading the thread is to understand the context of the discussion, assess the information provided, and determine if it is relevant or useful for my needs.
|
||
|
||
#### 5. **Scrolling Within the Thread**
|
||
- **Action:** I scroll down within the forum thread.
|
||
- **Page Changes:** Scrolling reveals more comments and replies, showing the ongoing discussion and various perspectives from other users.
|
||
- **Possible Purpose:** The intent of scrolling within the thread is to see more user contributions, gather a broader range of opinions, and potentially find a solution or valuable insight related to the topic.
|
||
|
||
#### 6. **Returning to the Main Forum List**
|
||
- **Action:** I navigate back to the main forum list page.
|
||
- **Page Changes:** The page returns to the initial view, displaying the list of forums and discussions.
|
||
- **Possible Purpose:** Returning to the main forum list allows me to continue exploring other topics or search for a different discussion that might be more relevant or interesting.
|
||
|
||
#### 7. **Scrolling Through the Forum List Again**
|
||
- **Action:** I scroll through the forum list once more.
|
||
- **Page Changes:** Additional forum threads become visible as I scroll, providing more options to choose from.
|
||
- **Possible Purpose:** The purpose of further scrolling is to discover more content and potentially find another thread that aligns with my interests or information needs.
|
||
|
||
### Conclusion
|
||
The video segment captures a sequence of actions where I browse through a forum website, select and read a specific thread, and then return to the main forum list to continue exploring. Each action is focused on navigating and interacting with the forum content to find relevant information or discussions.
|
||
|
||
---
|
||
|
||
## Part 5
|
||
### Step-by-Step Actions:
|
||
|
||
1. **Action:** I click on the "angular-storage" link in the left sidebar menu.
|
||
- **Page Changes:** The page transitions to display the details of the "angular-storage" project. This includes sections like "Project information," "Repository," "Issues," etc., along with a main content area that shows the project's README, which contains information about the library's usage, contributing guidelines, and issue reporting instructions.
|
||
- **Possible Purpose:** The likely intent is to access detailed information about the "angular-storage" project, possibly for understanding its features, setup instructions, or contribution guidelines.
|
||
|
||
2. **Action:** I scroll down the page.
|
||
- **Page Changes:** The view moves further down the README section, revealing more content such as "Contributing," "Issue Reporting," and additional details about the project's setup and usage.
|
||
- **Possible Purpose:** The purpose of scrolling is to review more comprehensive information about the project, perhaps to find specific instructions or details relevant to using or contributing to the project.
|
||
|
||
3. **Action:** I click on the browser's back button (or a similar navigation control) to return to the previous page.
|
||
- **Page Changes:** The page changes back to the previous view, which appears to be a forum or submission page where users can create submissions.
|
||
- **Possible Purpose:** The intent is likely to return to the previous context, possibly to continue an action or task that was being performed before navigating to the "angular-storage" project page.
|
||
|
||
4. **Action:** I click inside the "Body" text box on the submission form.
|
||
- **Page Changes:** The cursor focuses inside the "Body" text box, allowing text input. The text box already contains a URL: `http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:6023`.
|
||
- **Possible Purpose:** The purpose is to either edit or confirm the text within the "Body" field of the submission form. This could involve modifying the existing URL or adding additional information.
|
||
|
||
5. **Action:** I click on the "technology" option in the "Forum" dropdown menu.
|
||
- **Page Changes:** The "Forum" field updates to show "technology" as the selected category for the submission.
|
||
- **Possible Purpose:** The intent is to categorize the submission under the "technology" forum, ensuring it is posted in the correct section for relevance and organization.
|
||
|
||
### Summary:
|
||
In this video segment, I navigate from a project details page back to a submission form, interact with the form by focusing on the "Body" text box, and select a forum category. Each action is aimed at preparing or finalizing a submission within the specified forum context.
|
||
|
||
---
|
||
|
||
## Part 6
|
||
### Step-by-Step Actions:
|
||
|
||
1. **Action:** I click on the "Body" text box.
|
||
- **Page Changes:** The cursor appears inside the "Body" text box, indicating it is active and ready for input.
|
||
- **Possible Purpose:** The likely intent is to enter or modify text within the "Body" section of the submission form.
|
||
|
||
2. **Action:** I type a URL into the "Body" text box.
|
||
- **Page Changes:** The URL `http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023` appears in the "Body" text box.
|
||
- **Possible Purpose:** The purpose is to include a specific web address as part of the submission content, possibly to reference an external resource or webpage.
|
||
|
||
3. **Action:** I move the cursor outside the "Body" text box.
|
||
- **Page Changes:** The URL remains in the "Body" text box, and the cursor is no longer active inside the text box.
|
||
- **Possible Purpose:** This action might be to review the entered URL or prepare to interact with another element on the page.
|
||
|
||
4. **Action:** I scroll down slightly on the page.
|
||
- **Page Changes:** The view shifts downward, revealing more of the page content, including the "Preview" section which now displays the URL that was typed.
|
||
- **Possible Purpose:** The intent is to check how the entered URL will appear in the final submission by viewing the preview.
|
||
|
||
### Summary:
|
||
In this video segment, I focused on entering a URL into the "Body" section of a submission form. After typing the URL, I reviewed its appearance in the preview section by scrolling down. These actions suggest a careful approach to ensuring the submission content is correctly formatted before proceeding further.
|
||
|
||
---
|
||
|
||
## Part 7
|
||
### Step-by-Step Actions:
|
||
|
||
1. **Action:** I click on the "Body" text box.
|
||
- **Page Changes:** The cursor is now active inside the "Body" text box, allowing me to type or paste content.
|
||
- **Possible Purpose:** My intention is to input or modify the content in the "Body" section of the submission form.
|
||
|
||
2. **Action:** I paste a URL into the "Body" text box.
|
||
- **Page Changes:** The URL `http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023` appears in the "Body" text box.
|
||
- **Possible Purpose:** I am providing a link as part of the submission content, likely to reference an external resource or webpage.
|
||
|
||
3. **Action:** I click on the "Preview" section below the "Body" text box.
|
||
- **Page Changes:** The preview section updates to display the pasted URL: `http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023`.
|
||
- **Possible Purpose:** I am verifying how the content will appear once submitted, ensuring the URL is correctly formatted and displayed.
|
||
|
||
4. **Action:** I click on the "Body" text box again.
|
||
- **Page Changes:** The cursor returns to the "Body" text box, allowing further editing.
|
||
- **Possible Purpose:** I intend to make additional modifications or additions to the content in the "Body" section.
|
||
|
||
5. **Action:** I delete the URL from the "Body" text box.
|
||
- **Page Changes:** The "Body" text box is now empty.
|
||
- **Possible Purpose:** I am clearing the previously pasted URL, possibly to replace it with new content or to start over.
|
||
|
||
6. **Action:** I type "A storage library for AngularJS done right" into the "Body" text box.
|
||
- **Page Changes:** The text "A storage library for AngularJS done right" appears in the "Body" text box.
|
||
- **Possible Purpose:** I am entering a descriptive statement about the submission, likely explaining its purpose or content.
|
||
|
||
7. **Action:** I click on the "Preview" section below the "Body" text box.
|
||
- **Page Changes:** The preview section updates to display the text: "A storage library for AngularJS done right".
|
||
- **Possible Purpose:** I am checking the formatting and appearance of the newly entered text in the preview to ensure it meets my expectations.
|
||
|
||
8. **Action:** I click on the "Body" text box again.
|
||
- **Page Changes:** The cursor returns to the "Body" text box, allowing further editing.
|
||
- **Possible Purpose:** I may want to make additional edits or adjustments to the text in the "Body" section.
|
||
|
||
9. **Action:** I type "A storage library for angular" into the "Body" text box, replacing the previous text.
|
||
- **Page Changes:** The text in the "Body" text box is updated to "A storage library for angular".
|
||
- **Possible Purpose:** I am refining the description, possibly correcting a typo or simplifying the wording.
|
||
|
||
10. **Action:** I click on the "Preview" section below the "Body" text box.
|
||
- **Page Changes:** The preview section updates to display the text: "A storage library for angular".
|
||
- **Possible Purpose:** I am verifying the final version of the text in the preview to ensure it is accurate and well-formatted before proceeding.
|
||
|
||
### Summary:
|
||
Throughout this segment, I focused on editing the "Body" section of a submission form. I initially pasted a URL, previewed it, then deleted the URL and typed a descriptive statement about a storage library for AngularJS. After previewing this statement, I made a minor adjustment to the text and previewed it again. My actions suggest a careful and iterative approach to crafting the submission content, ensuring accuracy and clarity at each step.
|
||
|
||
---
|
||
|
||
## Part 8
|
||
### Step-by-Step Actions:
|
||
|
||
1. **Action:** I click on the "Title" text box.
|
||
- **Page Changes:** The cursor appears inside the "Title" text box, indicating it is active and ready for input.
|
||
- **Possible Purpose:** The likely intent is to enter a title for the submission.
|
||
|
||
2. **Action:** I type "A storage library for angularjs done right" into the "Title" text box.
|
||
- **Page Changes:** The text "A storage library for angularjs done right" appears in the "Title" text box.
|
||
- **Possible Purpose:** The purpose is to provide a descriptive title for the submission.
|
||
|
||
3. **Action:** I click on the "Body" text box.
|
||
- **Page Changes:** The cursor appears inside the "Body" text box, indicating it is active and ready for input.
|
||
- **Possible Purpose:** The likely intent is to enter additional details or content for the submission.
|
||
|
||
4. **Action:** I type "A storage library for angularjs done right" into the "Body" text box.
|
||
- **Page Changes:** The text "A storage library for angularjs done right" appears in the "Body" text box.
|
||
- **Possible Purpose:** The purpose is to provide more detailed information or context related to the title.
|
||
|
||
5. **Action:** I click on the "Forum" dropdown menu.
|
||
- **Page Changes:** A dropdown list of forum options appears.
|
||
- **Possible Purpose:** The intent is to select an appropriate forum for the submission.
|
||
|
||
6. **Action:** I select "technology" from the dropdown menu.
|
||
- **Page Changes:** The "technology" option is highlighted and selected in the "Forum" field.
|
||
- **Possible Purpose:** The purpose is to categorize the submission under the "technology" forum.
|
||
|
||
7. **Action:** I scroll down to the "Create submission" button.
|
||
- **Page Changes:** The "Create submission" button becomes visible and accessible.
|
||
- **Possible Purpose:** The intent is to locate the button to submit the form.
|
||
|
||
8. **Action:** I click on the "Create submission" button.
|
||
- **Page Changes:** An error message appears stating, "You cannot post more. Wait a while before trying again."
|
||
- **Possible Purpose:** The intent was to submit the form, but the action was restricted due to a posting limit or cooldown period.
|
||
|
||
### Summary:
|
||
In this video segment, I attempted to create a submission by entering a title and body text, selecting a forum, and then submitting the form. However, the submission was unsuccessful due to a restriction preventing further posts at that time. Each step was focused on completing the form accurately and attempting to submit it.
|
||
|
||
# Playwright action
|
||
[
|
||
{
|
||
"action_uid": "action_0",
|
||
"idx": 0,
|
||
"action_repr": "frame.clickget_by_placeholder(\"Search GitLab\")",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "action_1",
|
||
"idx": 1,
|
||
"action_repr": "frame.pressget_by_placeholder(\"Search GitLab\")Enter",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/search?search=auth0%2Fangular-storage&nav_source=navbar"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/search?search=auth0%2Fangular-storage&nav_source=navbar"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "action_2",
|
||
"idx": 2,
|
||
"action_repr": "frame.clickget_by_placeholder(\"Search for projects, issues, etc.\")",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/search?search=auth0%2Fangular-storage&nav_source=navbar"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/search?search=auth0%2Fangular-storage&nav_source=navbar"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "action_3",
|
||
"idx": 3,
|
||
"action_repr": "frame.pressget_by_placeholder(\"Search for projects, issues, etc.\")Enter",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/search?search=auth0%2Fangular-storage&nav_source=navbar"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/search?search=auth0%2Fangular-storage&nav_source=navbar"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "action_4",
|
||
"idx": 4,
|
||
"action_repr": "frame.clicklocator(\"#content-body div\").filter(has_text=\"What are you searching for?\").nth(3)",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/search?search=auth0&nav_source=navbar"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/search?search=auth0&nav_source=navbar"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "action_5",
|
||
"idx": 5,
|
||
"action_repr": "frame.clickget_by_placeholder(\"Search for projects, issues, etc.\")",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/search?search=auth0&nav_source=navbar"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/search?search=auth0&nav_source=navbar"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "action_6",
|
||
"idx": 6,
|
||
"action_repr": "frame.pressget_by_placeholder(\"Search for projects, issues, etc.\")Enter",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/search?search=angular-storage&nav_source=navbar"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/search?search=angular-storage&nav_source=navbar"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "link_Auth0\\n/ angular-storage",
|
||
"idx": 7,
|
||
"action_repr": "frame.clickget_by_role(\"link\", name=\"Auth0\\n/ angular-storage\")",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/auth0/angular-storage"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/search?search=angular-storage&nav_source=navbar"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "link_Forums",
|
||
"idx": 8,
|
||
"action_repr": "frame.clickget_by_role(\"link\", name=\"Forums\")",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:9999/"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:9999/"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "label_technology \u2014 technology",
|
||
"idx": 9,
|
||
"action_repr": "frame.clickget_by_label(\"technology \u2014 technology\")",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:9999/forums"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:9999/forums"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "text_A storage library for AngularJS done right",
|
||
"idx": 15,
|
||
"action_repr": "frame.clickget_by_text(\"A storage library for AngularJS done right\")",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/auth0/angular-storage"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/auth0/angular-storage"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "action_12",
|
||
"idx": 12,
|
||
"action_repr": "frame.presslocator(\"body\")Meta+c",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/auth0/angular-storage"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:8023/auth0/angular-storage"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "label_Submit",
|
||
"idx": 13,
|
||
"action_repr": "frame.clickget_by_label(\"Submit\")",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:9999/submit/technology"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:9999/submit/technology"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "label_Body",
|
||
"idx": 14,
|
||
"action_repr": "frame.clickget_by_label(\"Body\")",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:9999/submit/technology"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:9999/submit/technology"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "label_Title *",
|
||
"idx": 17,
|
||
"action_repr": "frame.clickget_by_label(\"Title *\")",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:9999/submit/technology"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:9999/submit/technology"
|
||
}
|
||
},
|
||
{
|
||
"action_uid": "button_Create submission",
|
||
"idx": 18,
|
||
"action_repr": "frame.clickget_by_role(\"button\", name=\"Create submission\")",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:9999/submit/technology"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:9999/submit/technology"
|
||
}
|
||
}
|
||
]
|
||
|
||
# Output format
|
||
- 先总结整个任务的Objective,然后按照Strategy-SubStrategy-action三级层次来给出整个过程,
|
||
- 接着给出整个操作流程后的观察和有趣的发现,最后严格按照json格式输出三级层次的过程描述。
|
||
- 最后的输出json应该是包在```{json}```之间,最底层动作需要包含描述、对应的playwright动作指令顺序编号,以及具体指令内容。
|
||
|
||
# Example
|
||
### Complete User Operation Description to Display Labeled Issues in kkroening/ffmpeg-python
|
||
|
||
**Objective:** Filter and display all issues labeled as "question" in the kkroening/ffmpeg-python repository.
|
||
|
||
---
|
||
|
||
#### **Strategy 1: Navigate to the Repository**
|
||
**Low-Level Action Sequence:**
|
||
1. **Search for the user "kkroening"**
|
||
- Click the global search bar (placeholder: "Search GitLab").
|
||
- Type "kkroening" and press `Enter`.
|
||
2. **Select the user from results**
|
||
- Click the "Users" tab in search results.
|
||
- Click on "Karl Kroening @kkroening" in the user list.
|
||
3. **Access the repository**
|
||
- Navigate to the "Personal projects" section.
|
||
- Click on the "ffmpeg-python" project.
|
||
|
||
---
|
||
|
||
#### **Strategy 2: Filter Issues by Label**
|
||
**Low-Level Action Sequence:**
|
||
1. **Open the Issues tab**
|
||
- Scroll to the left sidebar menu.
|
||
- Click the "Issues" tab (displaying the count, e.g., "Issues 402").
|
||
2. **Apply label filtering**
|
||
- Click the search/filter bar in the issues list.
|
||
- Select the "Label" dropdown from the filter options.
|
||
- Type or select "question" from the label dropdown.
|
||
- Click the search/apply button to confirm the filter.
|
||
|
||
---
|
||
|
||
#### **Final Oberservation**
|
||
The issues list will refresh to show only issues with the "question" label. The URL will reflect the filter:
|
||
`.../ffmpeg-python/-/issues/?label_name[]=question`.
|
||
|
||
---
|
||
|
||
### Key Observations from Playwright Trace
|
||
- The final URL after filtering:
|
||
`http://ec2-3-135-39-80.../ffmpeg-python/-/issues/?label_name%5B%5D=question`
|
||
confirms the "question" label filter is applied.
|
||
- Critical interactions include selecting the "Label" dropdown and explicitly choosing "question" to refine results.
|
||
|
||
### Final output
|
||
```json
|
||
[{
|
||
"strategy" : "Navigate to the Repository",
|
||
"substrategies": [
|
||
{
|
||
"substrategy": "Search for the user \"kkroening\"",
|
||
"actions" : [
|
||
{
|
||
"description": "Click the global search bar (placeholder: \"Search GitLab\"). ",
|
||
"playwright_idx" : 18,
|
||
"playwright_instruction" : "frame.pressget_by_placeholder(\"Search GitLab\")Enter"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"substrategy": "Select the user from results",
|
||
"actions" : [
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"strategy" : "Filter Issues by Label",
|
||
"substrategies" : [
|
||
]
|
||
}]
|
||
``` |