Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Submitting a form fails when the action of the form does not have a protocol. #9

@morgajel

Description

@morgajel

Note that this exact same script works in 0.9.1, but fails in 1.8

twill-sh 

 -= Welcome to twill! =-

current page:  *empty page* 
>> go https://www.example.com/someapp/login.aspx
==> at https://www.example.com/someapp/login.aspx
current page: https://www.example.com/someapp/login.aspx
>> find "Example Dot Com"
current page: https://www.example.com/someapp/login.aspx
>> formvalue . UserName 'twill'
current page: https://www.example.com/someapp/login.aspx
>>  formvalue . Password 'secretPassword'
current page: https://www.example.com/someapp/login.aspx
>>  submit butlogin
Note: submit is using submit button: name="ctl00$MainContent$butlogin", value="Login"

ERROR: Invalid URL 'login.aspx': No schema supplied. Perhaps you meant http://login.aspx?

current page: https://www.example.com/someapp/login.aspx

Source form:

<form name="aspnetForm" method="post" action="login.aspx" id="aspnetForm">...
</form>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions