How to move back to the previous window?



  • Hi everybody! Have a problem: The script clicks on a site in the Google Search and the program opens the site. But I need to move back into previous window, and there is no such a button. I read through the forum, support team suggested javascript code smth like "window.history.back()", but it didn't work for me.

    Where is the problem? How to move back to the previous window? Would be grateful for any kind of help!



  • Browser Commands in Browser: Javascript

    Refresh
    location.reload()

    Back
    history.back()

    Source> https://community.bablosoft.com/topic/3521/лайфхаки-bas

    You can also use tabs. When load page with search results, you can get/scrape link or links and use them to load that link/s in new tab/s. So to go back to search page you can simply switch to that (first) tab.


Log in to reply
 

  • 3
  • 5
  • 9
  • 2
  • 2
  • 1
  • 2
  • 2