Re: How to get Browser window title ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not sure if you can get the info from the browser itself but why not write a small script to pull it from the html code..

$ lynx -source www.yahoo.com | grep -i "<title>"
<title>Yahoo!</title>

not sure if this is what you're looking for but its the easiest way i can think of.

Jeff

Jay Chandran wrote:

Hi All,

I have been trying to find a solution to this, but still I couldn't. What is the way to find the title of an opened Browser Window say for e.g.. in Mozilla.

Say for e.g.. I have opened in Mozilla Browser, http://www.yahoo.com.
How can I find out the title of the page. In the above case it would be "Yahoo!"

What is the way I can get this title programmatically? Can I find it out using Shell Script? If yes could someone give me an example.

Thanks in advance.

Regards,

jAY



-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux