Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. What other framework types can be used?

    1. Selenide: https://selenide.org/

  2. What parts should be changed:

    1. locators: https://www.browserstack.com/guide/locators-in-seleniumresult page object code CSS selectors/xPath

    2. annotation:
      @findBy
      type (public/private) WebElement name
      example:
      @FindBy(css="#Bla-Bla-bla")

      public WebElement buttonLogin
      var - lower case
      name of var - upper case
      camel style

    3. project archive should be changed (templates, imports)

      • skip imports block

      • update backend to add new template

      • add page init

    4. For one page object only 1 framework can be used

Initial

Selenium doesn’t support типизированные elements