Vangelis Banos 782aab3048 Add unit tests for try_login behavior
Add unit tests for the code that detects and tries to use login forms
automatically (`Browser.try_login`).

Add `htdocs/favicon.ico` because it is loaded automatically when the
browser tries to use the test web server and it causes a "missing"
warning.

Create a new dir `tests/htdocs/site11` which is used for login related
test html files.
2020-04-13 19:16:10 +00:00

13 lines
304 B
HTML

<html>
<head>
<title>Detect login form and use it</title>
</head>
<body>
<form action="/login-action" method="POST">
<input type="email" name="email" />
<input type="password" name="password" />
<input type="submit" name="login" value="login" />
</form>
</body>
</html>