mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 00:29:53 -05:00

Some sites don't allow you to login without clicking on a button to open a retracted modal. This update to the login code allows Brozzler to click on all elements that we think are related to opening a login modal. Then, if there isn't a regular form, we will attempt to fill out abnormal form schemes. The test_try_login test has been expanded for the new type of login form we are supporting.
25 lines
957 B
HTML
25 lines
957 B
HTML
<html>
|
|
<head>
|
|
<title>brozzler login form test 2</title>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<a class="login-open-bt" onclick="document.getElementsByClassName('login-box')[0].style = '';">Sign In</li>
|
|
<div class="login-box" style="display: none;">
|
|
<div class="login-main">
|
|
<ul class="login-list">
|
|
<li>
|
|
<input type="text" class="login-ipt" placeholder="Email" id="loginEmail">
|
|
</li>
|
|
<li>
|
|
<input type="password" class="login-ipt" placeholder="Password" id="loginPsw">
|
|
</li>
|
|
<li>
|
|
<div class="login-bt" onclick="window.location.href = '/login-action';">Sign In</div>
|
|
</li>
|
|
<br>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |