How to go back to home using while loop
See original GitHub issueHi 👋
I am executing Memlab on a website locally, where the home logo’s click reloads the page and goes to home URL. But since Memlab does not support reload, I figured the only way I can go back to home (the initial URL), is to page.goBack
while URL !== [home URL]:
but it runs into this error:
I also tried this way
but same result 😕 Would apprictae any guidance/help in this regard. Cheers! ✌️
Issue Analytics
- State:
- Created 9 months ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
looping back to beginning of statement using while loop (java)
Initialize the input with a value (0). And inform the user if they type in a certain value (i.e. -1) the loop ends....
Read more >Break Statement & Do While Loop
The purpose the break statement is to break out of a loop early. For example if the following code asks a use input...
Read more >break, continue, and return :: Learn Python by Nina Zakharenko
Instead, it goes back to the start of the loop, skipping over any other statements contained within ... You can also use break...
Read more >How to use a "While" loop with "if " loops to go back to the ...
So I would first input "1" it would give me an answer and ask me to input something else. Then, when I input...
Read more >Java While Loop - W3Schools
The do/while loop is a variant of the while loop. This loop will execute the code block once, before checking if the condition...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like a different issue since Puppeteer doesn’t get stuck based on your description.
I see… thanks for the prompt response!
btw I was wondering if it could also be due to this issue: https://github.com/puppeteer/puppeteer/issues/257