title: Execute Luakit browser commands from shell script
body: <p>I wrote unix shell script that is doing this:</p>
  
  <ol>
  <li>show local .html file with animation inside luakit browser, </li>
  <li>sleep 4 seconds,</li>
  <li>show .mp4 video with omx player,</li>
  <li>show local .html file with animation inside luakit browser,</li>
  <li>sleep 4 seconds,</li>
  <li>show .mp4 video with omx player,</li>
  <li>and so on and so on</li>
  </ol>
  
  <p>Transition from .html file to video is nice, but from video to .html file is NOT because after .mp4 video ends, luakit is showing previously opened .html file and then it opens new tab and shows me second .html file, and I would like that luakit opens next .html file inside current tab and not new one. Any way to do this ?</p>
  
  <p>Also is there any way to execute luakit browser commands from shell script because I tried to execute many of them inside script but not a single one works. For example, if you press "d" it key closes current tab and if I could archieve that I would just close current tab and open new .html file normaly.</p>
  
  <p>Any help will be appreciated</p>