Skip to content

Instantly share code, notes, and snippets.

View maximtop's full-sized avatar
🧩

Maxim Topciu maximtop

🧩
View GitHub Profile
@maximtop
maximtop / AG_click.js
Last active March 18, 2022 06:50
Example of script, which can be used to click on elements
const AG_click = (selector, timeoutMs = 10000) => {
const callback = () => {
try {
const el = document.querySelector(selector);
if (el) {
el.click();
return true;
}
} catch (e) {
// log error and stop execusion if selector is invalid
@maximtop
maximtop / index.html
Created April 26, 2018 13:09
Test xda bug page
<!DOCTYPE html>
<html lang="en">
<head>
<script>
console.log('hello from script');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">