Errors with download selenium

How to run a parser on selenium?
I imported selenium, installed all the options and even downloaded the web browser, but it still gives me an error:

from import Service
return_code = self.process.poll()
AttributeError: 'Service' object has no attribute 'process'.

Please tell me what can be done?

You mean process? Also why do you have a self there.

Yes, probably. But I pass the path to the web browser to service: service=file path.
I’m running selenium in a classroom.