Skip to content
This repository has been 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

Open
morgajel opened this issue May 15, 2015 · 1 comment

Comments

@morgajel
Copy link

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>
@Cito
Copy link

Cito commented Nov 23, 2023

Closing since this repository is archived and a rewrite is available here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants