title: Selenium Standalone server
body: <p>I want to run the selenium test cases in the remote machine.
  These are the steps I have followed:</p>
  
  <p>Steps I did in server machine:</p>
  
  <ol>
  <li><p>I have downloaded selenium-server-standalone-3.9.1.jar + Chrome Driver &amp; placed it in a folder and added it to $PATH environmental variable.</p></li>
  <li><p>I have started selenium server using <code>java -jar selenium-server-standalone-3.9.1.jar -role hub</code>  in the Terminal.</p></li>
  </ol>
  
  <p>Steps I did in local machine:</p>
  
  <ol>
  <li><p>I have installed selenium-webdriver &amp; selenium-server-standalone-3.9.1.jar</p></li>
  <li><p>I wrote a sample testcase using selenium webdriver.</p></li>
  <li><p>I have started a node here using command <code>java -jar selenium-server-standalone-3.9.1.ja-role node -hub http://172.24.111.70:4444/grid/register</code> in the terminal. The node got connected to the hub.</p></li>
  <li><p>I run the command <code>node test.js</code> in the terminal. I expect the chrome instance to open in the remote machine. But it is running in the local machine.</p></li>
  </ol>
  
  <p>Screenshots: 
  Hub:(Remote)
     <a href="https://i.stack.imgur.com/65VbX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/65VbX.png" alt="Terminal Remote Machine"></a>
  Node:(Local)
  <a href="https://i.stack.imgur.com/IpEeo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IpEeo.png" alt="Terminal in Local Machine"></a></p>
  
  <p>Can you please explain me the mistake I have did here? Have I understood the concept wrong?</p>