first_case文件执行报错,文件截图在回复里,我把几个关联的文件都截图出来了,麻烦老师看下 谢谢
PS D:\selenium_testlogin> & C:/Users/dengqianxi/AppData/Local/Programs/Python/Python310/python.exe d:/selenium_testlogin/case/first_case.py
File "d:\selenium_testlogin\case\first_case.py", line 48, in <module>
main()
File "d:\selenium_testlogin\case\first_case.py", line 42, in main
first=FirstCase()
File "d:\selenium_testlogin\case\first_case.py", line 14, in __init__
self.login=Register_Business(driver)
File "D:\selenium_testlogin\business\register_business.py", line 8, in __init__
self.regiter_h=RegisterHandle(driver)
TypeError: RegisterHandle.__init__() takes 1 positional argument but 2 were given
PS D:\selenium_testlogin>