Skip to content

Commit 5eff54a

Browse files
NaktibaldaDavertMik
authored andcommitted
[InnerBrowser] clickButton throws exception if button is outside form or link (#5478)
Fixes #5425
1 parent 7949d4b commit 5eff54a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
<html>
22
<body>
3+
34
<div>
4-
<button>The Button</button>
5+
<form action="/form/button" method="POST" id="form-id">
6+
<input type="hidden" name="text" value="val" />
7+
<button type="submit" name="btn0">Submit</button>
8+
</form>
9+
</div>
10+
11+
<div>
12+
<input type="submit" form="form-id" value="Submit 2" />
513
</div>
614
</body>
715
</html>

0 commit comments

Comments
 (0)