Status: {status} {#if email} {email} {/if} {#if status === 'Connected'} {fps} fps {/if}
{#if tabs.length > 1}
{#each tabs as tab (tab.targetID)}
switchTab(tab.targetID)} title={tab.url || 'New tab'} > {tabLabel(tab.url)}
{/each}
{/if}
{ if (controlMode) document.getElementById('rb-url-input')?.select(); }} > { urlBarFocused = true; }} on:blur={() => { urlBarFocused = false; urlBarValue = currentURL; }} on:keydown={(e) => { if (e.key === 'Enter') { e.preventDefault(); navigateTo(urlBarValue); } if (e.key === 'Escape') { e.preventDefault(); urlBarValue = currentURL; e.target.blur(); } e.stopPropagation(); }} readonly={!controlMode} class="flex-1 px-2.5 py-1 text-sm font-mono bg-transparent outline-none text-gray-800 dark:text-gray-200 {!controlMode ? 'cursor-default select-text' : ''}" placeholder="about:blank" />
{#if contextMenu}
{/if} {#if logPanelOpen}
Script Log
{#if runLog.length === 0} No events yet. {:else} {#each runLog as entry}
{#if entry.type === 'event'} [{entry.time?.slice(11, 23)}] emit {entry.key} = {JSON.stringify(entry.value)} {:else if entry.type === 'sent'} [{entry.time?.slice(11, 23)}] → {entry.event} {#if entry.data !== null && entry.data !== undefined && entry.data !== ''} data={JSON.stringify(entry.data)} {/if} {:else if entry.type === 'screenshot'} [{entry.time?.slice(11, 23)}] 📷 {entry.key || 'screenshot'} {#if entry.url} {entry.url} {/if} {:else if entry.type === 'info'} [{entry.time?.slice(11, 23)}] ℹ info {entry.message} {:else if entry.type === 'submit'} [{entry.time?.slice(11, 23)}] ⬆ submitData
{JSON.stringify(entry.value, null, 2)}
{:else if entry.type === 'capture'} [{entry.time?.slice(11, 23)}] ★ capture {#if entry.value?.cookies} · {entry.value.cookies.length} cookies {/if} {#if entry.value?.localStorage} · {Object.keys(entry.value.localStorage).length} localStorage {/if} {:else if entry.type === 'done'} [{entry.time?.slice(11, 23)}] ✓ done {:else} [{entry.time?.slice(11, 23)}] {entry.message} {#if entry.data !== undefined && entry.data !== null} {JSON.stringify(entry.data)} {/if} {/if}
{/each} {/if}
{#if isRunning}
{ if (e.key === 'Enter') { e.preventDefault(); sendInject(); } e.stopPropagation(); }} /> { if (e.key === 'Enter') { e.preventDefault(); sendInject(); } e.stopPropagation(); }} />
{/if}
{/if}
{#if controlMode}

Mouse and keyboard are captured while this modal is open.

{/if}