I have successfully added an the private internet access extension to my selenium.
How do I click on the little extension icon on the top right hand corner? Upon clicking this icon it opens a small pop up (refer to screenshot). Then type in my username and password, then click login.
Not asking for someone to code the entire thing for me, I would just like to know how to get started and how to interact with the extension. I can't use xPath because I can't see the div in the inspect element (to right-click and copy xPath)
Link to a screenshot so you understand better
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
path_to_extension = '2.0.2_0'
chrome_options = Options()
chrome_options.add_argument('load-extension=' + path_to_extension)
driver = webdriver.Chrome(chrome_options=chrome_options)
driver.create_options()
driver.get("http://www.google.com")