This could be more concise and clear if you used the jQuery object the whole time. Something like:

```js
var $searchBox = $(".extension-manager-dialog .search");
$searchBox.prop("value", "Theseus");
setTimeout(function () {
    $searchBox.trigger("input");
}, 800);
```