mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 16:49:56 -05:00

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.
13 lines
304 B
HTML
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>
|