Forum Discussion

hmofaz's avatar
hmofaz
Occasional Contributor
10 years ago

sys.browser- "object doesn't support this property or method"

Hello,



1. When I try to use a script as:  Sys.browser(chrom) the browser methode does not           appear in the option list and I get error message: "object doesn't support this property     or method"



2. When I try to get the URL from the page I received the message:

The object with the specified attributes does not exist because it cannot the URL property

Example:

var x = Aliases.chrome.wndChrome_WidgetWin_1.url

1 Reply

  • Hi Hezi,

    To get the URL of the current page, I use the following code:

    currentUrl = sys.browser("Chrome").page("*").url



    I hope this helps.