Skip to content

Task

Navigate to Relevant Information on Example Domains

As a web user, I find more information about example domains, so that I can better understand how example domains are used and what resources are available.

Success definition: Given I am on the Preloop website and I see a 404 error page When I navigate to the Example Domain website and follow the link for more information Then I should successfully reach the IANA website about example domains, seeing the title 'Example Domains' and relevant content.

Trajectory

Step 1:

Url (before/after):

https://www.preloop.com/

about:blank

Content (before/after):

RootWebArea 404 - Page not found, focused, url='https://www.preloop.com/'
    StaticText 404
    heading Page not found
    paragraph
        StaticText The page you are looking for doesn't exist or has been moved.
RootWebArea, focused, url='about:blank'

Reasoning for action: I chose to use the go_back() function because the current webpage is a 404 error page, indicating that the content I need is not available. By going back, I can check if I can access the main Preloop website or any previously opened pages that might contain links to the information about example domains.

Action: go_back() # Navigate back to the previous page in history.

Change Description: The browser state changed from displaying a '404 - Page not found' error page to a blank page (about:blank) after the autonomous agent navigated back to the previous page in the browsing history.

Screenshot before:Screenshot after:---

Step 2:

Url (before/after):

about:blank

http://www.example.com/

Content (before/after):

RootWebArea, focused, url='about:blank'
RootWebArea Example Domain, focused, url='http://www.example.com/'
    heading Example Domain
    paragraph
        StaticText This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.
    paragraph
Show more
        [12] link More information..., center=(736,275), url='https://www.iana.org/domains/example'

Reasoning for action: I chose to navigate to 'http://www.example.com' because this is the appropriate starting point for understanding example domains. The user story specifies that I need to gather more information about example domains, and this website is a well-known resource for that information. By starting here, I can then look for links or resources that direct me to the IANA website which contains the relevant content as stated in the success criteria.

Action: goto('http://www.example.com') # Navigate to a specific URL to find relevant content.

Change Description: The browser navigated from a blank state to the 'http://www.example.com/' page, which now displays the title 'Example Domain' along with a heading and two paragraphs of static text, including a link directing to 'https://www.iana.org/domains/example'.

Screenshot before:Screenshot after:---

Step 3:

Url (before/after):

http://www.example.com/

https://www.iana.org/help/example-domains

Content (before/after):

RootWebArea Example Domain, focused, url='http://www.example.com/'
    heading Example Domain
    paragraph
        StaticText This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.
    paragraph
Show more
        [12] link More information..., center=(736,275), url='https://www.iana.org/domains/example'
RootWebArea Example Domains, focused, url='https://www.iana.org/help/example-domains'
    banner
        [14] link Homepage, center=(527,91), url='https://www.iana.org/'
            image Homepage, url='https://www.iana.org/_img/2022/iana-logo-header.svg'
        list
Show more
            listitem
                [19] link Domains, center=(1236,52), url='https://www.iana.org/domains'
            listitem
                [21] link Protocols, center=(1321,52), url='https://www.iana.org/protocols'
            listitem
                [23] link Numbers, center=(1408,52), url='https://www.iana.org/numbers'
            listitem
                [25] link About, center=(1482,52), url='https://www.iana.org/about'
    article
        main
            heading Example Domains
            paragraph
                StaticText As described in
                [32] link RFC 2606, center=(562,247), url='https://www.iana.org/go/rfc2606'
                StaticText and
                [33] link RFC 6761, center=(666,247), url='https://www.iana.org/go/rfc6761'
                StaticText , a number of domains such as example.com and example.org are maintained for documentation purposes. These domains may be used as illustrative examples in documents without prior coordination with us. They are not available for registration or transfer.
            paragraph
                StaticText We provide a web service on the example domain hosts to provide basic information on the purpose of the domain. These web services are provided as best effort, but are not designed to support production applications. While incidental traffic for incorrectly configured applications is expected, please do not design applications that require the example domains to have operating HTTP service.
            heading Further Reading
            list
                listitem
                    ListMarker ■
                    [38] link IANA-managed Reserved Domains, center=(571,471), url='https://www.iana.org/domains/reserved'
            StaticText Last revised 2017-05-13.
        navigation
    contentinfo
        LayoutTable
            LayoutTableRow
                LayoutTableCell Domain Names
                    [47] link Domain Names, center=(458,619), url='https://www.iana.org/domains'
                LayoutTableCell Root Zone Registry .INT Registry .ARPA Registry IDN Repository
                    list
                        listitem
                            [51] link Root Zone Registry, center=(602,619), url='https://www.iana.org/domains/root'
                        listitem
                            [53] link .INT Registry, center=(704,619), url='https://www.iana.org/domains/int'
                        listitem
                            [55] link .ARPA Registry, center=(792,619), url='https://www.iana.org/domains/arpa'
                        listitem
                            [57] link IDN Repository, center=(888,619), url='https://www.iana.org/domains/idn-tables'
            LayoutTableRow
                LayoutTableCell Number Resources
                    [60] link Number Resources, center=(471,646), url='https://www.iana.org/numbers'
                LayoutTableCell Abuse Information
                    list
                        listitem
                            [64] link Abuse Information, center=(601,646), url='https://www.iana.org/abuse'
            LayoutTableRow
                LayoutTableCell Protocols
                    [67] link Protocols, center=(442,673), url='https://www.iana.org/protocols'
                LayoutTableCell Protocol Registries Time Zone Database
                    list
                        listitem
                            [71] link Protocol Registries, center=(602,673), url='https://www.iana.org/protocols'
                        listitem
                            [73] link Time Zone Database, center=(728,673), url='https://www.iana.org/time-zones'
            LayoutTableRow
                LayoutTableCell About Us
                    [76] link About Us, center=(439,700), url='https://www.iana.org/about'
                LayoutTableCell Performance Reports Reviews Excellence Contact Us
                    list
                        listitem
                            [80] link Performance, center=(584,700), url='https://www.iana.org/performance'
                        listitem
                            [82] link Reports, center=(654,700), url='https://www.iana.org/reports'
                        listitem
                            [84] link Reviews, center=(710,700), url='https://www.iana.org/reviews'
                        listitem
                            [86] link Excellence, center=(772,700), url='https://www.iana.org/about/excellence'
                        listitem
                            [88] link Contact Us, center=(842,700), url='https://www.iana.org/contact'
        paragraph
            StaticText The IANA functions coordinate the Internet’s globally unique identifiers, and are provided by
            [91] link Public Technical Identifiers, center=(1031,746), url='http://pti.icann.org/'
            StaticText , an affiliate of
            [92] link ICANN, center=(1224,746), url='http://www.icann.org/'
            StaticText .
        list
            listitem
                [96] link Privacy Policy, center=(454,788), url='https://www.icann.org/privacy/policy'
            listitem
                [98] link Terms of Service, center=(562,788), url='https://www.icann.org/privacy/tos'

Reasoning for action: By clicking on the link labeled 'More information...', I am navigating away from the Example Domain website and towards the IANA website which is known to provide comprehensive details about example domains. This directly aligns with the user story's goal of finding more information about example domains, thus advancing the task.

Action: click('12') # Click on the 'More information...' link to access additional information.

Change Description: The browser navigated from the 'Example Domain' page to the 'Example Domains' page on the IANA website, transitioning the URL from 'http://www.example.com/' to 'https://www.iana.org/help/example-domains', and updating the content to include a new header, paragraphs, links, and a navigation structure specific to example domains.

Screenshot before:Screenshot after:---