Browser "Back" button

  • Автор темы Автор темы BlackSun
  • Дата начала Дата начала

BlackSun

Client
Регистрация
24.01.2011
Сообщения
119
Реакции
3
Баллы
0
Is this a simple command to emulate clicking the browser back button?

Thanks
 
Enter to the navigation panel:
javascript: history.back(1); void 0;
or
javascript: history.back(1);
 
Enter to the navigation panel:
javascript: history.back(1); void 0;
or
javascript: history.back(1);

Thanks but when I try to include this in a template browser "Go to page" step, I get this error: "Error occurred while executing template"

I've tried:
javascript: history.back(1); void 0;-|-page
javascript: history.back(1);-|-page
{-JS.Execute-|-history.back(1); void 0;-}-|-page
{-JS.Execute-|-history.back(1);-}-|-page

All return the same error.
 
Does it work on IE?
I mean this javascript on site which you need
 
Finally solved it. Javascript on the page was confusing the Action recording, however after editing the template history.back(1); does actually work.
 
Thanks Hungry Bulldozer!

Using javascript: history.back(1);-|-page works great on the test pages. Unfortunately however, it doesn't work for the site I'd like to automate. I guess there is some clash between the javascript on the site and the history.back(1) code.
This in zennoposter 5 doesn't work
 
Here you go
 

Вложения

  • test.xmlz
    test.xmlz
    9,4 KB · Просмотры: 1 211
  • Оценить
Реакции: A76 bot
^^^^^^^^^^^^^^^^^^^^^this didnt click back for me
 
nevermind i had java off!
 
You can always save need URL to variable and navigate there once you need it
 
  • Оценить
Реакции: Alouka
I see, but this hasn't the same effect as a real back i think.. thank you
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)