Answers for "click function google colab"

1

google colab clicker

function ConnectButton(){
    console.log("Connect pushed"); 
    document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click() 
}

colabClicker = setInterval(ConnectButton, 60000);

// by assigning setInterval return to variable you can easily stop clicker anytime
// clearInterval(colabClicker)
Posted by: Guest on February-12-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language