Use frame name to get frame in api.eval() and api.execScript()