title: How to enable built-in VPN in OperaDriver?
body: <p>The opera browser has a built-in VPN which allows you to hide your IP while browsing. 
  My question is can the VPN be turned on while using OperaDriver with selenium in python?</p>
  
  <p><em>Attempt and problem in detail:</em></p>
  
  <p>I have this script that goes to a website to display my IP address.</p>
  
  <pre><code>from selenium import webdriver
  from selenium.webdriver.opera.options import Options
  from time import sleep
  driver = webdriver.Opera(executable_path=r'/path/to/operadriver')
  driver.get('https://whatismyipaddress.com')
  sleep(10)
  driver.quit() 
  </code></pre>
  
  <p>When I go to this site on the opera browser with VPN enabled, my IP is masked and some other IP address is shown. But my script opens up the browser to display my real IP address. </p>
  
  <p>I have searched almost all questions on OperaDriver on SO as well as on other sites. There seems to be absolutely no documentation or any other questions related to this anywhere. </p>
  
  <p>The closest I got was <a href="https://github.com/operasoftware/operachromiumdriver/issues/23" rel="noreferrer">this feature request on github</a>. The OP says that he was able to make it work by using OperaOptions to load a custom profile. The code posted in the link is</p>
  
  <pre><code>OperaOptions operaOptions = new OperaOptions();
  operaOptions.addArguments("user-data-dir", "~/Library/Application Support/com.operasoftware.Opera");
  driver = new OperaDriver(operaOptions);
  </code></pre>
  
  <p>I tried to do this in python and nothing worked out. If it is  of any concern I use Ubuntu 16.04, and OperaDriver is downloaded from the <a href="https://github.com/operasoftware/operachromiumdriver/releases" rel="noreferrer">official github page</a>. Python version is <code>3.6.7</code> and Opera version is <code>57.0.3098.116</code> for <code>Ubuntu 16.04 LTS (x86_64; Unity)</code>.</p>