gologinapp / pygologin

REST API provides programmatic access to GoLogin App. Create a new browser profile, get a list of all browser profiles, add a browser profile and running
Other
61 stars 42 forks source link

NameError: name 'ExtensionsManager' is not defined. Did you mean: 'extensionsManagerInst'? #63

Open 1nguyenhuuhieu opened 10 months ago

1nguyenhuuhieu commented 10 months ago

im using selenium 4.12 and python 4.11 with example code:

import time from sys import platform from selenium import webdriver from selenium.webdriver.chrome.options import Options from gologin import GoLogin from gologin import getRandomPort

random_port = get_random_port() # uncomment to use random port

gl = GoLogin({ "token": "", "profile_id": "", })

if platform == "linux" or platform == "linux2": chrome_driver_path = "./chromedriver" elif platform == "darwin": chrome_driver_path = "./mac/chromedriver" elif platform == "win32": chrome_driver_path = "chromedriver.exe"

debugger_address = gl.start() chrome_options = Options() chrome_options.add_experimental_option("debuggerAddress", debugger_address) driver = webdriver.Chrome(executable_path=chrome_driver_path, options=chrome_options) driver.get("http://www.python.org") assert "Python" in driver.title driver.close() time.sleep(3) gl.stop()

stepjet commented 10 months ago

Could you check this issue with 2023.9.6134110 package version?