Home > other >  Python Selenium, use PO mode, meet the login with Token do that?
Python Selenium, use PO mode, meet the login with Token do that?

Time:03-06

1. My problem now, don't know how to use Token,
2. Other page depends on the login page, how to just open a browser,

CodePudding user response:

What do not know whether useful framework, if use pytest framework, you can write in conftest. Py files inside, in the login method plus a @ pytest fixtures (scope="session", autouse=True) annotations, such global can open only one,
  • Related