Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

458
Views
TypeError: __init__() got an unexpected keyword argument 'service' error using Python Selenium ChromeDriver

When i am running the code on pycharm idle the code is going good without errors. when i converted #into exe file by using pyinstaller or auto-py-to-exe i am getting this type of error. #

#i am not getting where i have to change.# '''

import time,datetime
from datetime import date
import selenium
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
import pyautogui
from pywinauto.keyboard import send_keys
import calendar
import openpyxl
import tkinter as tk
from tkinter import *
from tkinter import messagebox as mb
from pywinauto import application
import pywinauto
import comtypes.client

driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()))
'''
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!