Anyone?

  • TerevosM
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    You got selenium questions? I got answers!

    • LemmyStartNow@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      What is the best way to learn Selenium, mainly the commands or syntax? Are there any practice sites like how there are for learning coding/programming?

      • vasaglegleblu@lemmy.worldOP
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        There are plenty of tutorials on YouTube. I would recommend playing around with Selenium IDE and/or Katalon Recorder. These are browser plugins that you can install and are step recorders. You can later export the script you’ve recorded into a script from either of these plugins.

        • LemmyStartNow@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          11 months ago

          Unfortunately Selenium IDE is not the best way to practice selenium, according to most of the Youtube tutorials, since one is a scripting generator (from the UI recording) and the other is actually programming scripts (or lines of codes); which can be executed from terminals.

          Additonally youtube tutorials are informative, but are passive learning since there aren’t any applied practicals. Looking for recommendation of practicing selenium webdriver with a premade sandbox like websites that has sandbox for learning programming(e.g. Sololearn, W3schools, fcc, etc.).

    • vasaglegleblu@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      I have read and discovered that WebDriver does not support HTTP Basic Authentication (i.e. it does not support supplying the username and password to the dialog presented by the web browser). Is there a way to compensate for this? I have a few web sites that utilize this but I cannot fully automate scripts for this site. I have to manually log in and then run the script which is not very autonomous…

      • seleniumstudent@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        9 months ago

        You should be able to just submit the login and password directly in the url (https://username:password@URL) with HTTP basic authentication and have it work that way. And man they really killed this community by moving away from reddit. A total neckbeard self own by the mods.