We can fetch the url of the website bu get attribute and pass the attribute as url,
Refer this for fetch url,
Get the url of the two web pages , indicate anything unique for the websites (for both website) in get attribute activity.
Compare both the results,
Str1 - first page url
Str2 - second page urlStr1.equals(str2)
Thanks