Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
Advisor
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
https://seleniumforum.forumotion.net

New function to get last time visited to a particular page. Empty New function to get last time visited to a particular page.

Sun Sep 13, 2009 4:49 pm
New function to get last time visited to a particular page. Icon_rr hi guys,

There is one more useful function to get information from cookie. You will get the last time use visited on particular page , if cookie is not flushed out from system. Add this function to any of the user-extensions posted on this forum or add to your own user extension.


How to use the command:

* [info] Executing: |open | http://www.google.co.in/ | |
* [info] Executing: |storeLastVisited | | name |
* [info] Executing: |type | q | ${name} |

Note: Handle the synchronize problem before using this command. make the page loaded completly to get the result.

Here is the function:

Selenium.prototype.getLastVisited = function(status) {

/**
* This function store the last visited date and time user visted the particular page. It is taking information from Cookies. * The result will be store into variable.
*
* @param This variable will store the browser name. Provide the value in any Target/value options of IDE.
*
*
*
**/
fifteenth();
function fifteenth()
{
if (document
avatar
jagadeeswar
Posts : 2
Join date : 2011-03-07
Age : 34
Location : Hyderabad

New function to get last time visited to a particular page. Empty Re: New function to get last time visited to a particular page.

Mon Mar 07, 2011 10:10 pm
oh nice Quote.
i don't know about this function till now.
avatar
Priyanka
Regular Participant
Regular Participant
Posts : 27
Join date : 2010-10-04

New function to get last time visited to a particular page. Empty Re: New function to get last time visited to a particular page.

Tue Mar 08, 2011 11:56 am
Thanks for sharing
Sponsored content

New function to get last time visited to a particular page. Empty Re: New function to get last time visited to a particular page.

Back to top
Permissions in this forum:
You cannot reply to topics in this forum