after refresh click a button automatically code example
Example: autoclick button if refresh page html
window.onload=function(){
document.getElementById("linkid").click();
};
window.onload=function(){
document.getElementById("linkid").click();
};