Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to write a little script for Google Chrome. I need it to launch a specific web-site and scroll down to a specific spot on the page that opens. the first part is easy: (/opt/google/chrome/google-chrome --new-window

There is a video streaming player at the bottom of the page that I need to bring up to the center, or top of the browser window.

Any ideas how to accomplish this?

share|improve this question

You could try to open

Or find the id of another element on the page where you want to focus and provide that as the target.

share|improve this answer
Yea baby... That works! Thank you! – Raymond Mar 13 '12 at 15:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.