News for hackers. Stuff that matters.
Re:How Googlebot crawls JavaScript by hpaavola on Tuesday May 12, 2015 @06:07AM (#9530586)

    pip install robotframework-selenium2library
test.txt:

    *** Settings ***
    Library           Selenium2Library

    *** Test Cases ***
    My First Test
        [Setup]    Open Browser    http://google.com    firefox
        Input Text    name=q    Robot Framework
        Click Button    name=btnG
        Wait Until Page Contains Element    ires
        Click Link    Robot Framework
        [Teardown]    Close All Browsers
and then execute

    pybot test.txt
Selenium2 and Robot Framework are pretty neat when it comes to web testing.

There are no comments on this comment yet.