Open morgajel opened 9 years ago
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>
Closing since this repository is archived and a rewrite is available here.
Note that this exact same script works in 0.9.1, but fails in 1.8
Source form: