I have a tab open in Google Chrome. Is it possible to get or check it's url from terminal? I am running osx.
Page title will also do.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
You could look into using AppleScript to query chrome for the info if chrome supports it.
I don't have chrome handy, but I would do the following:
Create an Applescript similar to: tell application "chrome" set tabList to the tabs of the front window get the url of the first tab in tabList end tell
and run it with the osascript command in the terminal.