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

Not working #44

Open YuanBernard opened 11 months ago

YuanBernard commented 11 months ago

Hello, I'm trying to use the api but it's not working.

First I tried to use the example code that appears in the "README.md" file. When I run the script, it opens the Orbita browser but then appears the following error: TypeError: WebDriver.init() got an unexpected keyword argument 'executable_path'

Tried to open it using Service instead of executable_path, but it gives me a eeror with the chromedriver version. Tried with various versions of chromedriver but they didn't work.

Here a example of my code in both cases: a. chrome_driver_path = '../DriverGoLogin/chromedriver' 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)

b. debugger_address = gl.start() chrome_options = Options() chrome_options .add_experimental_option("debuggerAddress", debugger_address) serviceC = Service('../DriverGoLogin/chromedriver') driver = webdriver.Chrome(service = serviceC, options = chrome_options )

I also can open the Orbita browser manually

nikita5526 commented 11 months ago

@YuanBernard hi! Let me clarify which version of the Orbita browser and webdriver are you using?

YuanBernard commented 11 months ago

My actual Orbita version is 113.1.2.15 I tried the following chromedriver versions: 114.0.5735.90 (the one that I had as default), 113.0.5672.24 and 113.0.5672.63. If you need it, I can share a screen of the error messages with you

nikita5526 commented 11 months ago

Please share a screenshot of the error. The executable_path parameter is most likely deprecated, it's not critical Does the Orbita start up or does it all end with an error?