this might work
This commit is contained in:
parent
487aa4ce7e
commit
ee38bcbf10
|
|
@ -16,7 +16,7 @@ export default async function () {
|
|||
setTimeout(() => process.exit(), 1000)
|
||||
return {
|
||||
text: "Reloading in 3 seconds...",
|
||||
script: `setTimeout(() => (window as any).location = window.location, 3000)`
|
||||
script: `setTimeout(() => window.location.reload(), 3000)`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -17,7 +17,7 @@ export const browserCommands: Record<string, () => any> = {
|
|||
resize()
|
||||
autoScroll()
|
||||
},
|
||||
reload: () => (window as any).location = window.location,
|
||||
reload: () => window.location.reload(),
|
||||
session: () => sessionID,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user