Hi @mithushalk
I agree with both the solutions shared above in this thread.
I want to add another option for you to save the website name.
After you launch a website, set a variable for that website whose value for eg would be "Amazon".
and then use this variable to print in the screenshot file name.
Or if you do not know which website you are going to open because you are dynamically opening the website, for example, by reading from some spreadsheet, then either using string functions or regular expressions fetch the website part name from the URL you are launching www.amazon.com
Some websites have tag lines and punch lines in the title so doing this will give you only the website name.
Good day!