The first is open the browser's common

The second is the test function of

The third is a login with common

I want to write a common, log in to other function module test, but I am writing the third login using common points out seleniu related methods, have a great god know what's going on?
CodePudding user response:
Mark,,,CodePudding user response:
I usually do, write a special method of landing on the Amy polumbo y, then call Amy polumbo in p. y y (example: a. ogin (account, password))
The

CodePudding user response:
Not you such kind of guide you should define a class and class encapsulates two functions below then you direct guide class like you directly Import notCodePudding user response:
I use pycharm too. Don't come out, but the use of eclipse can be, I have is a hand to knock phi (゜ del ゜ *)?CodePudding user response:
Have the same doubt, consult the building Lord have results? Don't understand why the custom base class can be handwritten inside call maximize_window (), the get () method, but also point outCodePudding user response:
1. In the second encapsulation class initialization when add a keyword arguments2. Call the class, the keyword arguments way and

