1
I’m trying to upload my Chrome profile but can’t, which is missing?
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
class Teste:
def __init__(self):
self.driver = webdriver.Chrome()
chrome_options = Options()
chrome_options.add_argument("C:/Users/e5512459/AppData/Local/Google/Chrome/User Data/Default")
brs = webdriver.Chrome(executable_path="C:/Users/e5512459/PycharmProjects/wpp/chromedriver.exe",
chrome_options=chrome_options)
def abrir(self):
driver = self.driver
driver.get("https://web.whatsapp.com/")
wpp = Teste()
wpp.abrir()
even so it still does not load the profile, starts as a new profile
– Filipe.C
I changed the code a little bit, I believe that now will
– Tmilitino
@Filipe. C now the code is working
– Tmilitino
Thank you! solved here.
– Filipe.C