Every QA engineer knows the specific frustration of a broken build caused by a single character change in a CSS class. A developer renames a button ID or shifts a div container by a few pixels, and suddenly, an entire suite of Selenium or Playwright scripts collapses. This fragility has turned web automation into a cycle of constant maintenance, where engineers spend more time updating selectors than actually testing new features. The industry has long sought a way to move beyond these rigid scripts toward a system that understands a web page the way a human does.
The Architecture of Visual Web Manipulation
Amazon Nova Act arrives as a multimodal foundation model designed to decouple test automation from the underlying HTML structure. Instead of searching for a specific ID in the DOM, Nova Act analyzes real-time screenshots of the web interface to identify interactive elements. It recognizes the visual affordances of buttons, input fields, and dropdown menus, using the surrounding context to determine the next logical action. This visual-first approach allows the model to navigate dynamic interfaces and handle unexpected pop-ups without requiring a script update.
To operationalize this capability, Amazon has implemented a four-layer automation pipeline consisting of document processing, orchestration, execution, and analysis. The document processing layer handles the creation of test scenarios, while the orchestration layer manages large-scale execution. The execution layer performs the intelligent user flow tests, and the analysis layer converts the raw results into actionable metrics. This modular separation ensures that changes in one layer do not destabilize the entire system.
At the heart of the scenario generation is the Amazon Bedrock Knowledge Base, which extracts user tasks from unstructured documentation. These tasks are then passed through Lambda functions and Claude 4.5 Sonnet to be decomposed into detailed test steps. The system generates instructions across three levels of granularity, from high-level goals to specific procedural steps. The implementation details for this logic are contained within the `index.py` file. For instance, a high-level goal like buying a coffee maker is expanded into a sequence: selecting kitchen appliances from the menu, applying material and rating filters, and completing the checkout process.
Infrastructure deployment is handled via the AWS Cloud Development Kit (CDK), with the full solution and deployment guides available through the aws-samples GitHub repository. To deploy the necessary resources, engineers use the following command:
cdk deployTo optimize costs by removing deployed resources, the following command is used:
cdk destroyFrom Script Execution to UX Intelligence
The fundamental shift introduced by Nova Act is the transition from selector-based matching to intelligent navigation. Traditional tools like Selenium rely on hardcoded identifiers; if the identifier changes, the tool is blind. Nova Act, however, processes pixel-level information and mimics human reasoning to read the context of the screen. It does not look for a coordinate or a string; it looks for a functional element that satisfies the current goal.
This capability transforms the nature of test logs. Rather than a binary pass or fail, Nova Act provides Chain of Thought (CoT) logs that document the model's internal reasoning. When the AI struggles to find a path or misinterprets an element, it creates a visual and textual record of that failure. This is where the tool evolves from a QA utility into a UX research asset. If the AI cannot intuitively find a button, it is highly probable that a human user will experience the same friction. The failure of the model thus becomes a diagnostic tool for identifying UX bottlenecks.
For professional deployment, Nova Act supports persistent browser sessions to maintain login states, reducing the overhead of repeated authentication. To ensure data integrity during extraction, the system utilizes Pydantic schemas to capture structured data from web pages. By defining types and formats in advance, the system minimizes errors when validating form submissions or dynamic content. It also handles file-based workflows, automating the verification of both uploads and downloads.
The core control logic for these flows is executed within Amazon ECS at the following path:
ecs/ecs_act_headless/app.pyAll execution data is routed to an Amazon S3 bucket named `flow-test-results-bucket`. Each run generates a summary file containing the time elapsed per step, the number of actions taken, the final status, and the structured data extracted via Pydantic. This data is then processed by Lambda functions and visualized on a React-based dashboard. The Overview tab allows teams to distinguish between infrastructure failures and agent-level logic errors, while the Performance & Efficiency tab analyzes how the granularity of instructions impacts the overall quality of the user experience.
For practitioners implementing this in fast-paced environments, a hybrid strategy is most effective. Teams can use the automated generation feature to establish a baseline of coverage and then manually define custom flows for edge cases or undocumented features. These manual flows are inserted directly into a `DynamoDB` table as JSON schemas, allowing developers to verify new functionality before formal documentation is even written.
By shifting the focus from finding bugs to mapping friction points, Nova Act moves the goalpost of automation. The objective is no longer just to ensure the code works, but to ensure the interface is intuitive. The operational burden of maintaining thousands of lines of fragile selectors is replaced by a system that adapts to the UI as it evolves.
The era of treating UI updates as technical debt is ending. By combining Bedrock knowledge bases with the visual reasoning of Claude 4.5 Sonnet, Amazon Nova Act reduces the dependency on hardcoded selectors and empowers engineers to design more complex, human-centric user journeys.




