__init__.py |
|
0 |
bubbling.py |
<style>
body * {
margin: 10px;
padding: 10px;
border: 1px solid blue;
}
</style>
<div id=three>THREE
<div id=two>TWO
<div id=one>ONE</div>
</div>
</div>
<script>
window.clicks = [];
var elements = document.querySelectorAll("div");
for (var level = 0; level < elements.length; level++) {
elements[level].addEventListener("click", function(clickEvent) {
window.clicks.push(clickEvent.currentTarget);
});
}
</script>
|
4380 |
center_point.py |
<style>
body {{ margin: 0 }}
div {{
background: blue;
width: {size}px;
height: {size}px;
}}
</style>
<div id=target></div>
<script>
window.clicks = [];
let div = document.querySelector("div");
div.addEventListener("click", function(e) {{ window.clicks.push([e.clientX, e.clientY]) }});
</script>
|
1773 |
click.py |
|
3047 |
events.py |
Return list of mouse events recorded in the fixture. |
1177 |
file_upload.py |
|
513 |
interactability.py |
<button style="display: none">foobar</button> |
4621 |
navigate.py |
<p style="background-color: yellow; width: 50px;">
<a href={link}>Helloooooooooooooooooooo Worlddddddddddddddd</a>
</p> |
5958 |
scroll_into_view.py |
Asserts there has only been one click, and returns that. |
2398 |
select.py |
<select>
<option>first
<option>second
</select> |
5116 |
shadow_dom.py |
return arguments[0].shadowRoot.querySelector("input")
|
2351 |
support |
|
|
user_prompts.py |
|
6039 |